kumquat-buildroot/boot
Yann E. MORIN fc34cf772c core: introduce per br2-external NAME
This unique NAME is used to construct a per br2-external tree variable,
BR2_EXTERNAL_$(NAME)_PATH, which contains the path to the br2-external
tree.

This variable is available both from Kconfig (set in the Kconfig
snippet) and from the .mk files.

Also, display the NAME and its path as a comment in the menuconfig.

This will ultimately allow us to support multiple br2-external trees at
once, with that NAME (and thus BR2_EXTERNAL_$(NAME)) uniquely defining
which br2-external tree is being used.

The obvious outcome is that BR2_EXTERNAL should now no longer be used to
refer to the files in the br2-external tree; that location is now known
from the BR2_EXTERNAL_$(NAME)_PATH variable instead. This means we no
longer need to expose, and must stop from from exposing BR2_EXTERNAL as
a Kconfig variable.

Finally, this also fixes a latent bug in the pkg-generic infra, where we
would so far always refer to BR2_EXTERNAL (even if not set) to filter
the names of packages (to decide whether they are a bootloader, a
toolchain or a simple package).

Note: since the variables in the Makefile and in Kconfig are named the
same, the one we computed early on in the Makefile will be overridden by
the one in .config when we have it. Thus, even though they are set to
the same raw value, the one from .config is quoted and, being included
later in the Makefile, will take precedence, so we just re-include the
generated Makefile fragment a third time before includeing the
br2-external's Makefiles. That's unfortunate, but there is no easy way
around that as we do want the two variables to be named the same in
Makefile and Kconfig (and we can't ask the user to un-quote that variable
himself either), hence this little dirty triple-inclusion trick.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-10-16 13:01:02 +02:00
..
afboot-stm32
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
grub
grub2 grub2: fix build with BR2_STRIP_none 2016-07-31 20:19:40 +02:00
gummiboot
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 boot/uboot: Call 'make all' unconditionally 2016-10-07 22:35:48 +02:00
vexpress-firmware vexpress-firmware: new package 2016-10-15 12:35:28 +02:00
xloader
common.mk
Config.in arm-trusted-firmware: new package 2016-10-15 14:13:34 +02:00