diff --git a/pkg/libcoap/Makefile b/pkg/libcoap/Makefile index dfc51773a..1c1ba3921 100644 --- a/pkg/libcoap/Makefile +++ b/pkg/libcoap/Makefile @@ -21,7 +21,7 @@ patch: $(CURDIR)/$(PKG_NAME)/Makefile $(CURDIR)/$(PKG_NAME)/Makefile: $(CURDIR)/$(PKG_NAME) cd $< && git apply ../patch.txt -$(CURDIR)/$(PKG_NAME): +$(CURDIR)/$(PKG_NAME)/: git clone $(PKG_URL) $@ && \ cd $@ && git checkout $(PKG_VERSION)