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-a3cf2f4a3e73master
parent
93e3dd8d3f
commit
d3daf2103e
|
@ -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)
|
||||||
( \
|
( \
|
||||||
|
|
Loading…
Reference in New Issue