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 <yamada.m@jp.panasonic.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ccbe2cd commit 549f04b9c96c49e00b197c2c2b2c609971384491
@Masahiro Yamada Masahiro Yamada authored on 23 Dec 2014
Sascha Hauer committed on 5 Jan 2015
Showing 2 changed files
View
Kbuild 0 → 100644
View
TODO