find: use -follow instead of -L, some systems don't support -L

SVN-Revision: 8000
lede-17.01
Felix Fietkau 2007-07-16 06:35:00 +00:00
parent 497e7253cd
commit 2809e403d6
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ endef
$(FILELIST): $(FILELIST):
rm -f tmp/info/.files-$(SCAN_TARGET)-* 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) tmp/info/.files-$(SCAN_TARGET).mk: $(FILELIST)
( \ ( \