From 549f04b9c96c49e00b197c2c2b2c609971384491 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Wed, 24 Dec 2014 13:23:26 +0900 Subject: kbuild: add ./Kbuild file to fix "make clean" "make clean/mrproper/distclean" has not been working correctly. When "make clean" is run, Kbuild descends into the directories that are listed in "clean-dirs" variable, which includes $(srctree). It intends descending into "./Kbuild", not "./Makefile". (Note "Kbuild" takes precedence over "Makefile" in each directory.) If Kbuild descends into "./Makefile", Kconfig is invoked via "make silentoldconfig", which is not our intention. Let's add "Kbuild" file at the top directory like Linux. Update TODO list too. Signed-off-by: Masahiro Yamada Signed-off-by: Sascha Hauer --- Kbuild | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Kbuild (limited to 'Kbuild') diff --git a/Kbuild b/Kbuild new file mode 100644 index 0000000000..0c3f408958 --- /dev/null +++ b/Kbuild @@ -0,0 +1,2 @@ +# This does nothing, but some (dummy) comments here. +# If this file gets empty, it is removed by "make distclean". -- cgit v1.2.3