build: propagate override information to .config file
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 9 Feb 2015 12:09:43 +0000 (12:09 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 9 Feb 2015 12:09:43 +0000 (12:09 +0000)
commitc95db6c37a27a114ed573f943cfe788ddf667d39
tree4c19148b70277cc65d6389dadaea94c7e2893fdf
parentc808ab37adab553fac3529ced739dc767e9f2a66
build: propagate override information to .config file

With this change, override information is now parsed from the metadata
and put in the %packages hash. A new hash - %overrides - is created and
exported, to be used during the .config-package.in generation.

If an override is detected, a new option CONFIG_OVERRIDE_PKGS will be
created in the .config, and will contain a space-separated list of all
the overridden packages.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44336 3c298f89-4303-0410-b956-a3cf2f4a3e73
scripts/metadata.pl
scripts/metadata.pm