summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-07-17 15:21:29 +0200
committerAlejandro Colomar <alx@kernel.org>2023-07-17 15:21:29 +0200
commit8739cd96d58a386bfba64e6371849722835b90fc (patch)
tree1813627010a78be38ddc3ad224af9c61d146909d
parent8796622ce83d62eee5d37dfd68896e206866a731 (diff)
Makefile: Simplify
Suggested-by: Andreas Schwab <schwab@suse.de> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index df7fe6172..56f288cbd 100644
--- a/Makefile
+++ b/Makefile
@@ -134,10 +134,7 @@ help:
MK := \
$(srcdir)/Makefile \
- $(wildcard \
- $(MAKEFILEDIR)/*.mk \
- $(MAKEFILEDIR)/*/*.mk \
- $(MAKEFILEDIR)/*/*/*.mk)
+ $(wildcard $(addprefix $(MAKEFILEDIR)/, *.mk */*.mk */*/*.mk))
include $(MK)
$(MK):: ;