From: Yann E. MORIN Date: Wed, 29 Jan 2014 21:48:24 +0000 (+0100) Subject: Config: default BR2_PACKAGE_OVERRIDE_FILE to $(CONFIG_DIR)/local.mk X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eda3d0e1d01c3f3e32a24759ddd107574a118c8c;p=buildroot.git 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 --- 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,