kumquat-buildroot/support/scripts
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
..
apply-patches.sh support/apply-patches: re-instate set -e 2016-07-06 14:47:30 +02:00
br2-external core: introduce per br2-external NAME 2016-10-16 13:01:02 +02:00
check-host-rpath support/scripts/check-host-rpath: also check HOST_DIR/{bin, sbin} 2016-04-21 22:17:36 +02:00
check-kernel-headers.sh check-kernel-headers: mktemp --tmpdir not available on RedHat RHEL5 2014-09-28 20:40:57 +02:00
eclipse-register-toolchain eclipse support: document script and add checks 2013-01-14 21:45:09 +01:00
expunge-gconv-modules Change /bin/bash shebangs into /usr/bin/env bash 2014-10-25 01:55:37 +02:00
get-developers support/scripts/get-developers: add new script 2016-09-21 09:02:13 +02:00
getdeveloperlib.py support/scripts/get-developers: add new script 2016-09-21 09:02:13 +02:00
graph-build-time support/scripts: fix graph-build-time help text 2016-05-24 23:26:25 +02:00
graph-depends support/scripts: fix graph-depends when run with python3 2016-04-18 11:34:33 +02:00
hardlink-or-copy support/scripts: add helper to hardlink-or-copy 2016-05-11 23:14:37 +02:00
mkmakefile Makefile: Remove 'quiet' variable 2015-10-29 00:04:05 +01:00
mkusers support/mkusers: allow comments in users tables 2015-10-18 17:52:21 +02:00
pkg-stats support: pkg-stats: add efl package in packages stats 2016-07-24 23:25:31 +02:00
pycompile.py python/python3: globalize *.pyc files compilation 2016-05-26 22:07:35 +02:00
scancpan scancpan: improve message when bad host perl version 2016-07-04 17:41:54 +02:00
scanpypi scanpypi: include LICENCE in the list of supported license files 2016-07-07 11:48:52 +02:00
setlocalversion setlocalversion: sync with Linux kernel version (2.6.34) 2013-09-04 11:58:12 +02:00
size-stats size-stats: fix bug when parsing file names with comma 2016-08-09 12:25:11 +02:00
size-stats-compare support/scripts: add size-stats-compare script 2016-02-07 15:52:25 +01:00
xorg-release trivial: fix typo 'informations' 2014-07-24 22:31:20 +02:00