apply-config-patch: revise pattern to exactly match a word

Signed-off-by: david_yang <david_yang@accton.com>
Add to support onie-syseeprom command in busybox

The patch supports r/w sys_eeprom (a.k.a. hardware information)
on either I2C or MTD device.  To enable the feature, the EEPROM
configuration have to be specified in $(MACHINEDIR)/busybox/config.
For instance:

    # Configuration for I2C EEPROM
    CONFIG_SYS_EEPROM=y
    CONFIG_SYS_EEPROM_DEVICE_I2C=y
    CONFIG_SYS_EEPROM_I2C_DEVICE="/dev/i2c-1"
    CONFIG_SYS_EEPROM_I2C_ADDR=0x57
    CONFIG_SYS_EEPROM_OFFSET=0
    CONFIG_SYS_EEPROM_SIZE=512
    CONFIG_SYS_EEPROM_MAX_SIZE=512

    # Configuration for MTD EEPROM
    CONFIG_SYS_EEPROM=y
    CONFIG_SYS_EEPROM_DEVICE_MTD=y
    CONFIG_SYS_EEPROM_MTD_DEVICE="/dev/mtd-board_eeprom"
    CONFIG_SYS_EEPROM_ERASE_SIZE=0x10000
    CONFIG_SYS_EEPROM_OFFSET=0
    CONFIG_SYS_EEPROM_SIZE=512
    CONFIG_SYS_EEPROM_MAX_SIZE=512

Both CONFIG_SYS_EEPROM_OFFSET and CONFIG_SYS_EEPROM_MAX_SIZE are
optional whose default values are 0 and 2048.

Signed-off-by: david_yang <david_yang@accton.com>
Write platform name and ONIE version to sys_eeprom during updating ONIE

Signed-off-by: david_yang <david_yang@accton.com>
i2ctools: Make onie-syseeprom be an optional feature

The feature is enabled by default.  However, it is deprecated now.
It is recommended to enable the command in busybox instead.  To
disable the feature, please insert "I2CTOOLS_SYSEEPROM = no" into
$(MACHINEDIR)/machine.make.

Signed-off-by: david_yang <david_yang@accton.com>
i2ctools: Make machine's patches be optional

If the machine's patch directory is absent, it will neither load,
apply, nor complain the patches.  However, the series must be in the
patch directory if the directory is present.

Signed-off-by: david_yang <david_yang@accton.com>
busybox: Add to support machine's patches

The machine's patches for busybox is optional.  i.e., If the
machine's patch directory is absent, it will neither load, apply,
nor complain the patches.  However, the series must be in the
patch directory if the directory is present.

Signed-off-by: david_yang <david_yang@accton.com>