From: Felix Fietkau Date: Sun, 15 Jul 2007 23:38:09 +0000 (+0000) Subject: follow symlinks in package scan X-Git-Tag: reboot~28666 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=25b44d2c12b3ea197c91dfdc9e05172f299144e6;p=openwrt%2Fstaging%2Fnoltari.git follow symlinks in package scan SVN-Revision: 7984 --- diff --git a/include/scan.mk b/include/scan.mk index 9bd0f379da..a0ee1ad678 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) ( \