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>
This commit is contained in:
parent
ccbe2cd91c
commit
549f04b9c9
|
@ -0,0 +1,2 @@
|
||||||
|
# This does nothing, but some (dummy) comments here.
|
||||||
|
# If this file gets empty, it is removed by "make distclean".
|
2
TODO
2
TODO
|
@ -4,7 +4,6 @@ TODO
|
||||||
[ ] ask jbe about:
|
[ ] ask jbe about:
|
||||||
./commands/Makefile:40:obj-$(CONFIG_SIMPLE_PARSER) += setenv.o
|
./commands/Makefile:40:obj-$(CONFIG_SIMPLE_PARSER) += setenv.o
|
||||||
[ ] bark on partition not ending on flash sector boundaries
|
[ ] bark on partition not ending on flash sector boundaries
|
||||||
[ ] distclean doesn't work without a config
|
|
||||||
[ ] Every driver should have a remove function.
|
[ ] Every driver should have a remove function.
|
||||||
(It must have. Currently there is no provision to given to remove my
|
(It must have. Currently there is no provision to given to remove my
|
||||||
interrupt handlers and to reset all hardware in use, before the target
|
interrupt handlers and to reset all hardware in use, before the target
|
||||||
|
@ -108,3 +107,4 @@ DONE
|
||||||
countdown -m msg -t timeout -x [ctrl-c|anykey|string]
|
countdown -m msg -t timeout -x [ctrl-c|anykey|string]
|
||||||
If done, remove the corresponding stuff from common/main.c
|
If done, remove the corresponding stuff from common/main.c
|
||||||
[X] Board support should go to arch/*/boards/*
|
[X] Board support should go to arch/*/boards/*
|
||||||
|
[X] distclean doesn't work without a config
|
||||||
|
|
Loading…
Reference in New Issue