Config: default BR2_PACKAGE_OVERRIDE_FILE to $(CONFIG_DIR)/local.mk
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 29 Jan 2014 21:48:24 +0000 (22:48 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 21 Feb 2014 22:31:07 +0000 (23:31 +0100)
commiteda3d0e1d01c3f3e32a24759ddd107574a118c8c
treed66b8ce58f6885bee7b32d7a652b61764c19fe3d
parentbe7e2bca8dc96e0e2da50a2237ce406c9e8d079f
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>
Config.in