aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2016-10-14 16:39:13 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-10-16 13:01:02 +0200
commit0f4435e950240d1beff6cffae2b23ab4089b0d41 (patch)
tree0eb43dde271332480faefb3c1a3ecc4ec3a4a291 /Config.in
parent17a82fc253b00a7eab33ddc5e2bcb965610ac9d6 (diff)
downloadbuildroot-0f4435e950240d1beff6cffae2b23ab4089b0d41.tar.gz
buildroot-0f4435e950240d1beff6cffae2b23ab4089b0d41.tar.bz2
core: do not hard-code inclusion of br2-external in Kconfig
Move the inclusion of br2-external's Config.in to the generated kconfig snippet. This will ultimately allow us to use more than one br2-external tree. Offload the "User-provided options" menu to the generated Kconfig snippet. We can also move the definition of the Kconfig-version of BR2_EXTERNAL into this snippet. We introduce an extra check that was not present in the previous code, to check that we do have permission on that directory. Prevciously, it was handled as a side effect of not being able to cd into there, but it is cleaner to check it expressly. 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>
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in11
1 files changed, 0 insertions, 11 deletions
diff --git a/Config.in b/Config.in
index d9fc400276..21173b79f3 100644
--- a/Config.in
+++ b/Config.in
@@ -14,10 +14,6 @@ config BR2_HOSTARCH
string
option env="HOSTARCH"
-config BR2_EXTERNAL
- string
- option env="BR2_EXTERNAL"
-
config BR2_BUILD_DIR
string
option env="BUILD_DIR"
@@ -729,11 +725,4 @@ source "package/Config.in.host"
source "Config.in.legacy"
-menu "User-provided options"
- depends on BR2_EXTERNAL != "support/dummy-external"
-
-source "$BR2_EXTERNAL/Config.in"
-
-endmenu
-
source "$BR2_BUILD_DIR/.br2-external.in"