Cleanup .boards.depend when using an objtree
.boards.depend was created in the source tree even when calling make with O=objtree, and distclean O=objtree wouldn't clean it. Create .boards.depend in objtree instead as to clean it up properly. Reported-by: Loc Minier <loic.minier@linaro.org> Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
a9d8bc9806
commit
d6a5e6d531
4
Makefile
4
Makefile
|
|
@ -525,8 +525,8 @@ unconfig:
|
||||||
%_config:: unconfig
|
%_config:: unconfig
|
||||||
@$(MKCONFIG) -A $(@:_config=)
|
@$(MKCONFIG) -A $(@:_config=)
|
||||||
|
|
||||||
sinclude .boards.depend
|
sinclude $(obj).boards.depend
|
||||||
.boards.depend: boards.cfg
|
$(obj).boards.depend: boards.cfg
|
||||||
awk '(NF && $$1 !~ /^#/) { print $$1 ": " $$1 "_config; $$(MAKE)" }' $< > $@
|
awk '(NF && $$1 !~ /^#/) { print $$1 ": " $$1 "_config; $$(MAKE)" }' $< > $@
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue