aboutsummaryrefslogtreecommitdiffstats
path: root/include/scan.awk
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-02-09 12:09:31 +0000
committerJohn Crispin <blogic@openwrt.org>2015-02-09 12:09:31 +0000
commit95a718f81bd9875a28e8f9857952b7f027d9d454 (patch)
treec1511f62bc74d13c77e767832f07d290fc6b3344 /include/scan.awk
parent045c40fb0532b36500fef190efc026608f08e621 (diff)
downloadmaster-187ad058-95a718f81bd9875a28e8f9857952b7f027d9d454.tar.gz
master-187ad058-95a718f81bd9875a28e8f9857952b7f027d9d454.tar.bz2
master-187ad058-95a718f81bd9875a28e8f9857952b7f027d9d454.zip
build: propagate override information to .packageinfo
Packages overridden with "./scripts/feeds -f" will show up with an "Override: <original-package-name>" in .packageinfo. This will be useful to create a corresponding option in .config and use this information during the build process. Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44335 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/scan.awk')
-rw-r--r--include/scan.awk4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/scan.awk b/include/scan.awk
index 39b2977228..0f02782326 100644
--- a/include/scan.awk
+++ b/include/scan.awk
@@ -4,8 +4,10 @@ $1 !~ /^feeds/ { PKGS[$NF]=$0 }
END {
# Filter-out OpenWrt packages which have a feeds equivalent
for (pkg in PKGS)
- if (pkg in FEEDS)
+ if (pkg in FEEDS) {
+ print PKGS[pkg] > of
delete PKGS[pkg]
+ }
n = asort(PKGS)
for (i=1; i <= n; i++) {
print PKGS[i]