diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-03-15 11:07:34 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-03-15 11:07:34 +0000 |
commit | f8b95e05f1dd0ac81abe6fb307f71451b70bc47b (patch) | |
tree | fb0addf7976c5ec2cbf2ed435f1bd6535ae3064b | |
parent | 50a5a8df2259ebdcc03dae3491e119fc2225e1ed (diff) | |
download | upstream-f8b95e05f1dd0ac81abe6fb307f71451b70bc47b.tar.gz upstream-f8b95e05f1dd0ac81abe6fb307f71451b70bc47b.tar.bz2 upstream-f8b95e05f1dd0ac81abe6fb307f71451b70bc47b.zip |
scripts/feeds: scan for target metadata
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44775
-rwxr-xr-x | scripts/feeds | 2 |
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; } |