pkg/Makefile.{http,git}: Minor issues resolved.
The were two recipes for clean. One of them is now "dist-clean"
This commit is contained in:
parent
f539f30691
commit
bff3bf72c8
@ -7,10 +7,10 @@ include $(RIOTBOARD)/Makefile.base
|
|||||||
include $(RIOTBOARD)/$(BOARD)/Makefile.include
|
include $(RIOTBOARD)/$(BOARD)/Makefile.include
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: all clean patch reset
|
.PHONY: all clean patch distclean
|
||||||
|
|
||||||
all: patch
|
all: patch
|
||||||
make -C $(CURDIR)/$(PKG_NAME)
|
$(MAKE) -C $(CURDIR)/$(PKG_NAME)
|
||||||
|
|
||||||
patch: $(CURDIR)/$(PKG_NAME)/Makefile
|
patch: $(CURDIR)/$(PKG_NAME)/Makefile
|
||||||
# Dependancy might be changed accordingly though we think the Makefile
|
# Dependancy might be changed accordingly though we think the Makefile
|
||||||
|
|||||||
@ -3,10 +3,10 @@ PKG_URL = http://example.com/downloads # source url of the package e.g. a gi
|
|||||||
PKG_VERSION = v1.2.3 # version of the package to use e.g. a git commit/ref
|
PKG_VERSION = v1.2.3 # version of the package to use e.g. a git commit/ref
|
||||||
PKG_EXT = zip # extension of this package
|
PKG_EXT = zip # extension of this package
|
||||||
|
|
||||||
.PHONY: all clean patch reset
|
.PHONY: all clean patch distclean
|
||||||
|
|
||||||
all: patch
|
all: patch
|
||||||
make -C $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION)
|
$(MAKE) -C $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
|
|
||||||
patch: $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION)/Makefile
|
patch: $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION)/Makefile
|
||||||
# Dependancy might be changed accordingly though we think the Makefile
|
# Dependancy might be changed accordingly though we think the Makefile
|
||||||
@ -30,7 +30,7 @@ $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT):
|
|||||||
clean::
|
clean::
|
||||||
# Reset package to checkout state.
|
# Reset package to checkout state.
|
||||||
rm -rf $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION) && \
|
rm -rf $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION) && \
|
||||||
make $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION)/Makefile
|
$(MAKE) $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION)/Makefile
|
||||||
|
|
||||||
clean::
|
distclean::
|
||||||
rm -rf $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION) $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)
|
rm -rf $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION) $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user