From d3daf2103ece8f4da8e9c2e891e4b736cca2b132 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 16 Jul 2007 06:35:00 +0000 Subject: find: use -follow instead of -L, some systems don't support -L git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8000 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/scan.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/scan.mk b/include/scan.mk index a0ee1ad678..04add4016c 100644 --- a/include/scan.mk +++ b/include/scan.mk @@ -31,7 +31,7 @@ endef $(FILELIST): rm -f tmp/info/.files-$(SCAN_TARGET)-* - 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 > $@ + find -follow $(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) ( \ -- cgit v1.2.3