From 71e46a5ce6d0341988c4bf697ca01b564df2a4af Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Fri, 25 Mar 2016 13:54:31 +0100 Subject: [PATCH] make: add clean-pkg target (cleaning extracted & patched pkg sources) --- Makefile.include | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.include b/Makefile.include index 662662e5bd..f0aad19130 100644 --- a/Makefile.include +++ b/Makefile.include @@ -309,6 +309,9 @@ clean-intermediates: -@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTPKG)/$$i clean ; done -@rm -rf $(BINDIR)/*.a $(BINDIR)/*/ +clean-pkg: + -@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTPKG)/$$i distclean ; done + distclean: -@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTPKG)/$$i distclean ; done -@rm -rf $(BINDIRBASE)