提交 d6a5e6d5 编写于 作者: L Loïc Minier 提交者: Wolfgang Denk

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: NLoc Minier <loic.minier@linaro.org>
Signed-off-by: NWolfgang Denk <wd@denx.de>
上级 a9d8bc98
......@@ -525,8 +525,8 @@ unconfig:
%_config:: unconfig
@$(MKCONFIG) -A $(@:_config=)
sinclude .boards.depend
.boards.depend: boards.cfg
sinclude $(obj).boards.depend
$(obj).boards.depend: boards.cfg
awk '(NF && $$1 !~ /^#/) { print $$1 ": " $$1 "_config; $$(MAKE)" }' $< > $@
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册