Logo
Explore Help
Sign In
OpenWrt/xiaomi-ax3600
1
0
Fork 0
You've already forked xiaomi-ax3600
mirror of https://github.com/immortalwrt/immortalwrt.git synced 2025-08-14 14:19:53 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
2e2c04777b7ca4da9cc476685f1d4636bcdc4c0e
xiaomi-ax3600/include/scan.awk

18 lines
334 B
Awk
Raw Normal View History

build: allow openwrt.git packages to be replaced by feeds Currently, replacing a package available in openwrt.git requires modifications in openwrt.git, or requires duplicating the package in a feed but with a different name, which causes all kind of problems related to dependencies (all packages selecting it would have to be modified accordingly to select the new package). With this change, if a package with the same name is present both in feeds/ and package/ folders, the one in feeds/ can override the one in package/, both in the menuconfig and during the build, by passing the "-f" option to "./scripts/feeds install" This mechanism is particularly useful for vendor tree, or in general for application which needs to replace one particular package which exists within openwrt.git by a custom/newer version. Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> SVN-Revision: 44334
2015-02-09 12:09:23 +00:00
BEGIN { FS="/" }
$1 ~ /^feeds/ { FEEDS[$NF]=$0 }
$1 !~ /^feeds/ { PKGS[$NF]=$0 }
END {
# Filter-out OpenWrt packages which have a feeds equivalent
for (pkg in PKGS)
if (pkg in FEEDS)
delete PKGS[pkg]
n = asort(PKGS)
for (i=1; i <= n; i++) {
print PKGS[i]
}
n = asort(FEEDS)
for (i=1; i <= n; i++){
print FEEDS[i]
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 312ms Template: 9ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API