diff options
author | Loïc Minier <loic.minier@linaro.org> | 2011-01-19 12:16:30 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-01-21 07:56:50 (GMT) |
commit | d6a5e6d531e357dd8016141f73d370d02886a7eb (patch) | |
tree | d066fc854e583d665f2c04d07dbdf225750f1b0e /Makefile | |
parent | a9d8bc98061c2c4bce312ce4d63cb4c61889fb6d (diff) | |
download | u-boot-fsl-qoriq-d6a5e6d531e357dd8016141f73d370d02886a7eb.tar.xz |
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: Loïc Minier <loic.minier@linaro.org>
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)" }' $< > $@ # |