aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-01-24 11:23:57 +0100
committerFelix Fietkau <nbd@nbd.name>2022-01-24 13:29:05 +0100
commit1404b3c3e6ac602887d4ba4854902d1db99871d3 (patch)
tree435ec9236c869200864bc106d0f727d6a99c73c5
parentf8bc8fa3778648c31e46ff3d8c277b473f663fae (diff)
downloadupstream-1404b3c3e6ac602887d4ba4854902d1db99871d3.tar.gz
upstream-1404b3c3e6ac602887d4ba4854902d1db99871d3.tar.bz2
upstream-1404b3c3e6ac602887d4ba4854902d1db99871d3.zip
build: increase scan depth for finding targets
This allows targets to be put into target/linux/feeds Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--include/toplevel.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index f5a2593a10..1e543ebcb9 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -77,7 +77,7 @@ prepare-tmpinfo: FORCE
@+$(MAKE) -r -s staging_dir/host/.prereq-build $(PREP_MK)
mkdir -p tmp/info
$(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f include/scan.mk SCAN_TARGET="packageinfo" SCAN_DIR="package" SCAN_NAME="package" SCAN_DEPTH=5 SCAN_EXTRA=""
- $(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f include/scan.mk SCAN_TARGET="targetinfo" SCAN_DIR="target/linux" SCAN_NAME="target" SCAN_DEPTH=2 SCAN_EXTRA="" SCAN_MAKEOPTS="TARGET_BUILD=1"
+ $(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f include/scan.mk SCAN_TARGET="targetinfo" SCAN_DIR="target/linux" SCAN_NAME="target" SCAN_DEPTH=3 SCAN_EXTRA="" SCAN_MAKEOPTS="TARGET_BUILD=1"
for type in package target; do \
f=tmp/.$${type}info; t=tmp/.config-$${type}.in; \
[ "$$t" -nt "$$f" ] || ./scripts/$${type}-metadata.pl $(_ignore) config "$$f" > "$$t" || { rm -f "$$t"; echo "Failed to build $$t"; false; break; }; \