From 4bff7250e06b60e6546b0bb3ac6c43afc7518bcc Mon Sep 17 00:00:00 2001 From: Christian Eppler Date: Wed, 15 May 2013 18:05:58 +0200 Subject: Fix Makefile add -mindepth 1 to ignore ./ Signed-off-by: Christian Eppler --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3