kumquat-buildroot/boot
Danomi Manchego f61583fc2e uboot: fix custom patch dir legacy handling
Commit 3e3fef39e7 added new and improved
patch handling, with BR2_TARGET_UBOOT_PATCH.  This was in addition to
the existing BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR option, that only
handled directories.

Later, commit 21b25d28fc moved the old
BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR to legacy options.  But on the way,
bad things happened:

* The original option was a string, while the one added to Config.in.legacy
is a bool.  This results in a warning from defconfigs that actually define
the old BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR (because a string is not a valid
value for a bool), but it does not result in the legacy option being
selected.  Consequently, BR2_LEGACY is not selected either.

* The advice at the top of Config.in.legacy to add a hidden WRAP option
to select BR2_LEGACY was not heeded.

* The advice at the top of Config.in.legacy to use the old string
option as the default for the new string option was not heeded.  In
this case, the variable was not just renamed, as the old option
supported directories only, while the new one supports files too.
But since the old option is a subset of the new option, it can still
be used to set a useful default.

So, this mod turns the legacy option back to a string, adds a hidden
bool WRAP option to set BR2_LEGACY when the string is non emoty, and
uses the legacy option to set the default for the new option.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-12-20 09:33:48 +01:00
..
afboot-stm32 afboot-stm32: use the Buildroot toolchain 2016-04-16 12:43:16 +02:00
arm-trusted-firmware arm-trusted-firmware: new package 2016-10-15 14:13:34 +02:00
at91bootstrap package/at91bootstrap: add hash file 2016-06-19 21:10:16 +02:00
at91bootstrap3 boot/at91bootstrap3: bump to version 3.8.6 2016-09-23 08:05:57 +02:00
at91dataflashboot package/at91dataflashboot: add hash file 2016-06-19 21:11:25 +02:00
barebox core: introduce per br2-external NAME 2016-10-16 13:01:02 +02:00
boot-wrapper-aarch64 boot-wrapper-aarch64: update upstream repository 2016-11-16 12:24:19 +01:00
grub boot/grub: add rootwait to default config 2016-03-10 22:29:36 +01:00
grub2 grub2: fix build with BR2_STRIP_none 2016-07-31 20:19:40 +02:00
gummiboot boot/gummiboot: switch to http for git clone 2015-05-01 10:26:51 +02:00
lpc32xxcdl
mxs-bootlets package/mxs-bootlets: add hash file 2016-06-19 21:54:20 +02:00
s500-bootloader boot: add s500-bootloader package 2016-05-26 10:35:34 +02:00
syslinux syslinux: add patch to disable pie 2016-09-12 22:32:47 +02:00
ts4800-mbrboot boot: add ts4800-mbrboot package 2016-07-15 23:15:12 +02:00
uboot uboot: fix custom patch dir legacy handling 2016-12-20 09:33:48 +01:00
vexpress-firmware vexpress-firmware: new package 2016-10-15 12:35:28 +02:00
xloader packages: refactor checks using BR_BUILDING 2015-04-26 21:43:25 +02:00
common.mk
Config.in arm-trusted-firmware: new package 2016-10-15 14:13:34 +02:00