aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-05 20:11:11 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2013-12-08 22:39:42 +0100
commit8eb8aaf904170ed25778b72f2e05dd5b9be059a4 (patch)
tree4a4edddb6f5b72f7ee7f11d61cd7a0d4aebed2ae /Config.in
parenta4239f7fd1053c11bf4bb8bbc98cbe4b513f2d47 (diff)
downloadbuildroot-8eb8aaf904170ed25778b72f2e05dd5b9be059a4.tar.gz
buildroot-8eb8aaf904170ed25778b72f2e05dd5b9be059a4.tar.bz2
core: allow external Config.in/makefile code to be integrated
This commit allows the BR2_EXTERNAL directory to contain Config.in and Makefile code, which gets integrated into the Buildroot build logic: - Buildroot automatically includes the $BR2_EXTERNAL/Config.in in the top-level configuration menu. - Buildroot automatically includes the BR2_EXTERNAL/external.mk in the build logic, so it can for example be used to include other .mk files that define package recipes. This is typically intended to be used to create target packages in the BR2_EXTERNAL directory, but can also be used for bootloaders, host packages, or other custom make logic. We also add a dummy Config.in file in support/dummy-external/ to ensure that the source "$BR2_EXTERNAL/Config.in" line will point to an existing file even when BR2_EXTERNAL is not used by the user. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Ryan Barnett <rjbarnet@rockwellcollins.com> Tested-by: "Samuel Martin" <s.martin49@gmail.com> Acked-by: "Samuel Martin" <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index ea060bc39a..12d36b5c83 100644
--- a/Config.in
+++ b/Config.in
@@ -492,3 +492,5 @@ source "boot/Config.in"
source "package/Config.in.host"
source "Config.in.legacy"
+
+source "$BR2_EXTERNAL/Config.in"