From eda3d0e1d01c3f3e32a24759ddd107574a118c8c Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Wed, 29 Jan 2014 22:48:24 +0100 Subject: [PATCH] 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" Cc: Thomas De Schampheleire Acked-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Peter Korsgaard --- Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 _OVERRIDE_SRCDIR,