summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-01-29 22:48:24 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-02-21 23:31:07 +0100
commiteda3d0e1d01c3f3e32a24759ddd107574a118c8c (patch)
treed66b8ce58f6885bee7b32d7a652b61764c19fe3d
parentbe7e2bca8dc96e0e2da50a2237ce406c9e8d079f (diff)
downloadbuildroot-eda3d0e1d01c3f3e32a24759ddd107574a118c8c.tar.gz
buildroot-eda3d0e1d01c3f3e32a24759ddd107574a118c8c.zip
Config: default BR2_PACKAGE_OVERRIDE_FILE to $(CONFIG_DIR)/local.mk
The current default for BR2_PACKAGE_OVERRIDE_FILE points to: $(TOPDIR)/local.mk This works well for in-tree builds, but is not very useful for out-of-tree builds, when the Buildroot source tree may be shared for different concurrent builds. Also, it seems to be more sensible to have local.mk alognside the .config file. Hence, change the default for BR2_PACKAGE_OVERRIDE_FILE to point to: $(CONFIG_DIR)/local.mk Note that this does not change the current behaviour for in-tree builds, since in that case $(CONFIG_DIR) == $(TOPDIR). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--Config.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Config.in b/Config.in
index c5c8aa822c..55f5fd81a7 100644
--- a/Config.in
+++ b/Config.in
@@ -475,7 +475,7 @@ config BR2_PREFER_STATIC_LIB
config BR2_PACKAGE_OVERRIDE_FILE
string "location of a package override file"
- default "$(TOPDIR)/local.mk"
+ default "$(CONFIG_DIR)/local.mk"
help
A package override file is a short makefile that contains
variable definitions of the form <pkg>_OVERRIDE_SRCDIR,
OpenPOWER on IntegriCloud