summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Eppler <c.eppler@linutonix.de>2013-05-15 18:05:58 +0200
committerChristian Eppler <c.eppler@linutonix.de>2013-05-15 18:05:58 +0200
commit4bff7250e06b60e6546b0bb3ac6c43afc7518bcc (patch)
tree575ce161c3fbe52f02b6773e25926dc31cce910e /Makefile
parent22db35bbe11cb1da8416ca125cc158fcafc60b4b (diff)
Fix Makefile add -mindepth 1 to ignore ./
Signed-off-by: Christian Eppler <c.eppler@linutonix.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 035c69d..b9eef57 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ EXCLUDE_PATH := grep -v ./kconfig-frontends | grep -v ./.git | grep -v ./kernel
MAKE_FILES = $(shell find . -mindepth 2 -name Makefile | $(EXCLUDE_PATH))
PATHS = $(dir $(MAKE_FILES))
-FIRST_FOLDER_LEVEL := $(shell find . -maxdepth 1 -type d | $(EXCLUDE_PATH))
+FIRST_FOLDER_LEVEL := $(shell find . -maxdepth 1 -mindepth 1 -type d | $(EXCLUDE_PATH))
export