From be206eba3a57128695a00f490767e5c136e43ab7 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 20 Feb 2017 13:03:49 +0100 Subject: build: get rid of FIND_L from host.mk This was added for Mac OS X many years ago, but recent versions also support find -L Signed-off-by: Felix Fietkau --- include/scan.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/scan.mk') diff --git a/include/scan.mk b/include/scan.mk index 3a884fb5f5..92f2dc3f93 100644 --- a/include/scan.mk +++ b/include/scan.mk @@ -56,7 +56,7 @@ endif $(FILELIST): $(OVERRIDELIST) rm -f $(TMP_DIR)/info/.files-$(SCAN_TARGET)-* - $(call FIND_L, $(SCAN_DIR)) $(SCAN_EXTRA) -mindepth 1 $(if $(SCAN_DEPTH),-maxdepth $(SCAN_DEPTH)) -name Makefile | xargs grep -aHE 'call $(GREP_STRING)' | sed -e 's#^$(SCAN_DIR)/##' -e 's#/Makefile:.*##' | uniq | awk -v of=$(OVERRIDELIST) -f include/scan.awk > $@ + find -L $(SCAN_DIR) $(SCAN_EXTRA) -mindepth 1 $(if $(SCAN_DEPTH),-maxdepth $(SCAN_DEPTH)) -name Makefile | xargs grep -aHE 'call $(GREP_STRING)' | sed -e 's#^$(SCAN_DIR)/##' -e 's#/Makefile:.*##' | uniq | awk -v of=$(OVERRIDELIST) -f include/scan.awk > $@ $(TMP_DIR)/info/.files-$(SCAN_TARGET).mk: $(FILELIST) ( \ -- cgit v1.2.3