]> code.ossystems Code Review - openembedded-core.git/commit
u-boot: Fix handling of CMD_LICENSE in u-boot-mkimage
authorMarek Vasut <marex@denx.de>
Tue, 28 Feb 2017 19:41:10 +0000 (20:41 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 4 Mar 2017 23:18:10 +0000 (23:18 +0000)
commitf7d4375146af22c72e2bdc9426329cd37f610a47
tree1986c1e39774b2fcf8adca6b1eee8c83a339c02c
parent8e756a808267da26c5c93729438e5757146be534
u-boot: Fix handling of CMD_LICENSE in u-boot-mkimage

Only ever change the CMD_LICENSE in the u-boot config if it is enabled
to prevent corruption of the config file. In case the CMD_LICENSE was
already disabled, the sed substitution inserted another "# " in front
of the CMD_LICENSE which triggered a restart of Kconfig oldconfig and
failed the build.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-bsp/u-boot/u-boot-mkimage_2017.01.bb