From 054f9fd02657ea7a55031fdd8ffbe3f833e68d4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ren=C3=A9=20Kijewski?= <rene.kijewski@fu-berlin.de>
Date: Sat, 24 May 2014 19:22:18 +0200
Subject: [PATCH] make: fix clean together with TLSF

---
 Makefile.include  | 2 +-
 pkg/tlsf/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.include b/Makefile.include
index fc209e41fe..98b9430845 100644
--- a/Makefile.include
+++ b/Makefile.include
@@ -125,7 +125,7 @@ $(BINDIR)$(PROJECT)/%.o: %.c $(PROJDEPS) $(USEPKG:%=${BINDIR}%.a)
 	$(AD)mkdir -p "$(dir $@)"
 	$(AD)$(CC) $(CFLAGS) $(INCLUDES) -c "$<" -o "$@"
 
-$(USEPKG:%=${BINDIR}%.a)::
+$(USEPKG:%=${BINDIR}%.a):
 	@mkdir -p ${BINDIR}
 	"$(MAKE)" -C $(RIOTBASE)/pkg/$(patsubst ${BINDIR}%.a,%,$@)
 
diff --git a/pkg/tlsf/Makefile b/pkg/tlsf/Makefile
index 7ea14d4eac..c9f83c94c2 100644
--- a/pkg/tlsf/Makefile
+++ b/pkg/tlsf/Makefile
@@ -15,7 +15,7 @@ ifeq (, $(UNZIP))
   endif
 endif
 
-.PHONY: all clean patch reset
+.PHONY: all clean distclean
 
 all: $(BINDIR)$(PKG_NAME).a
 
-- 
GitLab