aboutsummaryrefslogtreecommitdiffstats
path: root/include/scan.awk
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-02-09 12:09:31 +0000
committerJohn Crispin <john@openwrt.org>2015-02-09 12:09:31 +0000
commitb7cf4cc61300e6e6023ae6a494991e5c57f90656 (patch)
tree8c729971c02e44457b4c14a6bab0789a35af6423 /include/scan.awk
parent2e2c04777b7ca4da9cc476685f1d4636bcdc4c0e (diff)
downloadupstream-b7cf4cc61300e6e6023ae6a494991e5c57f90656.tar.gz
upstream-b7cf4cc61300e6e6023ae6a494991e5c57f90656.tar.bz2
upstream-b7cf4cc61300e6e6023ae6a494991e5c57f90656.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> SVN-Revision: 44335
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]