diff options
author | Simon Glass <sjg@chromium.org> | 2011-06-24 13:57:03 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-29 10:39:39 -0700 |
commit | 86b8a1f79fee9029f3ff27b61cf3b5ae8c33ba09 (patch) | |
tree | 953a414321f600bca4096e221ed8c67aeba75872 /Makefile | |
parent | e2390d78fcb0904e31c558567d6b88d4e88dfcc9 (diff) |
fdt: Clean out old dtb files from output tree
This change 'make clobber' to remove all device tree binary files either at
the build root or in subdirectories.
BUG=chromium-os:11623
TEST=make ... clobber and observe that files are removed
Change-Id: I603a382963bd8c2219a1361d4571ae1de559e788
Reviewed-on: http://gerrit.chromium.org/gerrit/3252
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1127,15 +1127,15 @@ clean: @rm -f $(ONENAND_BIN) @rm -f $(obj)onenand_ipl/u-boot.lds @rm -f $(TIMESTAMP_FILE) $(VERSION_FILE) - @rm -f $(obj)dts/dt.dtb @find $(OBJTREE) -type f \ \( -name 'core' -o -name '*.bak' -o -name '*~' \ - -o -name '*.o' -o -name '*.a' -o -name '*.exe' \) -print \ + -o -name '*.o' -o -name '*.a' -o -name '*.exe' \) -print \ | xargs rm -f clobber: clean @find $(OBJTREE) -type f \( -name '*.depend' \ - -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \ + -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \ + -o -name '*.dtb' \) \ -print0 \ | xargs -0 rm -f @rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS \ |