diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -62,9 +62,15 @@ endif # If the user is running make -s (silent mode), suppress echoing of # commands +ifneq ($(filter 4.%,$(MAKE_VERSION)),) # make-4 +ifneq ($(filter %s ,$(firstword x$(MAKEFLAGS))),) + quiet=silent_ +endif +else # make-3.8x ifneq ($(filter s% -s%,$(MAKEFLAGS)),) quiet=silent_ endif +endif export quiet Q KBUILD_VERBOSE @@ -76,7 +82,7 @@ clean_%: ifeq ($(ARCH),) -ALL_DTS := $(wildcard src/*/*.dts) +ALL_DTS := $(shell find src/* -name \*.dts) ALL_DTB := $(patsubst %.dts,%.dtb,$(ALL_DTS)) @@ -86,7 +92,7 @@ $(ALL_DTB): FORCE else -ARCH_DTS := $(wildcard src/$(ARCH)/*.dts) +ARCH_DTS := $(shell find src/$(ARCH) -name \*.dts) ARCH_DTB := $(patsubst %.dts,%.dtb,$(ARCH_DTS)) |