[PATCH 5/5] kbuild: drop bogus "common/barebox_default_env*" from CLEAN_FILES

Masahiro Yamada yamada.m at jp.panasonic.com
Wed Jan 28 18:27:56 PST 2015


Since commit 7fa10256c3f4 (defaultenv: Allow multiple
defaultenvironment overlays), barebox_default_env* is created
in the defaultenv/ directory.  They are cleaned up when
"make clean" descends into the defaultenv/ directory.

We can simply delete "common/barebox_default_env*" from the
top Makefile.

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---

 Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index b5c6c91..ca546e9 100644
--- a/Makefile
+++ b/Makefile
@@ -952,8 +952,7 @@ endif # CONFIG_MODULES
 # Directories & files removed with 'make clean'
 CLEAN_DIRS  += $(MODVERDIR)
 CLEAN_FILES +=	barebox* System.map include/generated/barebox_default_env.h \
-                .tmp_version .tmp_barebox* \
-		.tmp_kallsyms* common/barebox_default_env* \
+		.tmp_version .tmp_barebox* .tmp_kallsyms* \
 		scripts/bareboxenv-target
 
 # Directories & files removed with 'make mrproper'
-- 
1.9.1




More information about the barebox mailing list