Merge pull request #5610 from kaspar030/clean_pkg_intermediates

make: distclean pkg sources on clean-intermediates target
This commit is contained in:
Kaspar Schleiser 2016-07-06 18:13:33 +02:00 committed by GitHub
commit e31f034bb1

View File

@ -312,7 +312,7 @@ clean:
# Remove intermediates, but keep the .elf, .hex and .map etc. # Remove intermediates, but keep the .elf, .hex and .map etc.
clean-intermediates: clean-intermediates:
-@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTPKG)/$$i clean ; done -@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTPKG)/$$i distclean ; done
-@rm -rf $(BINDIR)/*.a $(BINDIR)/*/ -@rm -rf $(BINDIR)/*.a $(BINDIR)/*/
clean-pkg: clean-pkg: