Commit d6a5e6d5 authored by Loïc Minier's avatar Loïc Minier Committed by Wolfgang Denk
Browse files

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: default avatarLoc Minier <>
Signed-off-by: Wolfgang Denk's avatarWolfgang Denk <>
parent 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)" }' $< > $@
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment