summaryrefslogtreecommitdiff
path: root/include/scan.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-15 23:38:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-15 23:38:09 +0000
commit25b44d2c12b3ea197c91dfdc9e05172f299144e6 (patch)
treee593a68de30e56789436d59f4f35813225661079 /include/scan.mk
parentde2aa28c4cecf4d63c9ed5e057498bf2c046bb69 (diff)
downloadmtk-20170518-25b44d2c12b3ea197c91dfdc9e05172f299144e6.zip
mtk-20170518-25b44d2c12b3ea197c91dfdc9e05172f299144e6.tar.gz
mtk-20170518-25b44d2c12b3ea197c91dfdc9e05172f299144e6.tar.bz2
follow symlinks in package scan
SVN-Revision: 7984
Diffstat (limited to 'include/scan.mk')
-rw-r--r--include/scan.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scan.mk b/include/scan.mk
index 9bd0f37..a0ee1ad 100644
--- a/include/scan.mk
+++ b/include/scan.mk
@@ -31,7 +31,7 @@ endef
$(FILELIST):
rm -f tmp/info/.files-$(SCAN_TARGET)-*
- find $(SCAN_DIR) $(SCAN_EXTRA) -mindepth 1 $(if $(SCAN_DEPTH),-maxdepth $(SCAN_DEPTH)) -name Makefile | xargs grep -HE 'call (Build/DefaultTargets|KernelPackage|Build(Package|Kernel))' | sed -e 's#^$(SCAN_DIR)/##' -e 's#/Makefile:.*##' | uniq > $@
+ find -L $(SCAN_DIR) $(SCAN_EXTRA) -mindepth 1 $(if $(SCAN_DEPTH),-maxdepth $(SCAN_DEPTH)) -name Makefile | xargs grep -HE 'call (Build/DefaultTargets|KernelPackage|Build(Package|Kernel))' | sed -e 's#^$(SCAN_DIR)/##' -e 's#/Makefile:.*##' | uniq > $@
tmp/info/.files-$(SCAN_TARGET).mk: $(FILELIST)
( \