Message ID | 1295439390-16238-2-git-send-email-loic.minier@linaro.org |
---|---|
State | Accepted |
Headers | show |
Dear =?UTF-8?q?Lo=C3=AFc=20Minier?=, In message <1295439390-16238-2-git-send-email-loic.minier@linaro.org> you wrote: > .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. > --- > Makefile | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Signed-off-by: missing > diff --git a/Makefile b/Makefile > index 7c02096..e819e56 100644 > --- a/Makefile > +++ b/Makefile > @@ -526,7 +526,7 @@ unconfig: > @$(MKCONFIG) -A $(@:_config=) > > sinclude .boards.depend > -.boards.depend: boards.cfg > +$(obj).boards.depend: boards.cfg > awk '(NF && $$1 !~ /^#/) { print $$1 ": " $$1 "_config; $$(MAKE)" }' $< > $@ We should also use sinclude $(obj).boards.depend then. Applied with this additional change. Thanks. Best regards, Wolfgang Denk
diff --git a/Makefile b/Makefile index 7c02096..e819e56 100644 --- a/Makefile +++ b/Makefile @@ -526,7 +526,7 @@ unconfig: @$(MKCONFIG) -A $(@:_config=) sinclude .boards.depend -.boards.depend: boards.cfg +$(obj).boards.depend: boards.cfg awk '(NF && $$1 !~ /^#/) { print $$1 ": " $$1 "_config; $$(MAKE)" }' $< > $@ #