aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/feeds
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-15 11:07:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-15 11:07:34 +0000
commit6e940fdbb809778306d97d754337a445c56ea674 (patch)
treee7d8f3e2a335971cad691fef7202a777e6d8d9f7 /scripts/feeds
parentd2c8d763c0140d91747ce7e258c793c789a0d107 (diff)
downloadmaster-187ad058-6e940fdbb809778306d97d754337a445c56ea674.tar.gz
master-187ad058-6e940fdbb809778306d97d754337a445c56ea674.tar.bz2
master-187ad058-6e940fdbb809778306d97d754337a445c56ea674.zip
scripts/feeds: scan for target metadata
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44775 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/feeds')
-rwxr-xr-xscripts/feeds2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/feeds b/scripts/feeds
index 1ddf304045..004e5c9c6a 100755
--- a/scripts/feeds
+++ b/scripts/feeds
@@ -98,7 +98,9 @@ sub update_index($)
system("$mk -s prepare-mk OPENWRT_BUILD= TMP_DIR=\"$ENV{TOPDIR}/feeds/$name.tmp\"");
system("$mk -s -f include/scan.mk IS_TTY=1 SCAN_TARGET=\"packageinfo\" SCAN_DIR=\"feeds/$name\" SCAN_NAME=\"package\" SCAN_DEPS=\"$ENV{TOPDIR}/include/package*.mk\" SCAN_DEPTH=5 SCAN_EXTRA=\"\" TMP_DIR=\"$ENV{TOPDIR}/feeds/$name.tmp\"");
+ system("$mk -s -f include/scan.mk IS_TTY=1 SCAN_TARGET=\"targetinfo\" SCAN_DIR=\"feeds/$name\" SCAN_NAME=\"target\" SCAN_DEPS=\"profiles/*.mk $ENV{TOPDIR}/include/target.mk\" SCAN_DEPTH=5 SCAN_EXTRA=\"\" SCAN_MAKEOPTS=\"TARGET_BUILD=1\" TMP_DIR=\"$ENV{TOPDIR}/feeds/$name.tmp\"");
system("ln -sf $name.tmp/.packageinfo ./feeds/$name.index");
+ system("ln -sf $name.tmp/.targetinfo ./feeds/$name.targetindex");
return 0;
}