summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-01-08 16:25:24 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2015-01-08 14:41:03 +0100
commita414bba5852bf4d51ecca172741b12dcba46b4ea (patch)
treee7cb42faf99969ec7b5e8530b4cb4027a6f05556 /Makefile
parente7554c0cb245ef4a47297d2b191648b8ff8aecb3 (diff)
downloadbarebox-a414bba5852bf4d51ecca172741b12dcba46b4ea.tar.gz
barebox-a414bba5852bf4d51ecca172741b12dcba46b4ea.tar.xz
kbuild: delete include/generated directory by "make mrproper"
Otherwise, "make mrproper" misses to delete some generated files such as include/generated/compile.h. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 92889b3a11..5f73a47d41 100644
--- a/Makefile
+++ b/Makefile
@@ -960,10 +960,9 @@ CLEAN_FILES += barebox System.map include/generated/barebox_default_env.h \
barebox.efi barebox.canon-a1100.bin
# Directories & files removed with 'make mrproper'
-MRPROPER_DIRS += include/config usr/include
+MRPROPER_DIRS += include/config usr/include include/generated
MRPROPER_FILES += .config .config.old include/asm .version .old_version \
- include/generated/autoconf.h include/generated/version.h \
- include/generated/utsrelease.h include/config.h \
+ include/config.h \
Module.symvers tags TAGS cscope*
# clean - Delete most, but leave enough to build external modules