X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5f895d5863156fad2e2b28bb4cdee553d895f63c..5354877ce9aede44153fc709c7644c4084058657:/openwrt/package/libupnp/Makefile

diff --git a/openwrt/package/libupnp/Makefile b/openwrt/package/libupnp/Makefile
index 88c48e751..d09f60d64 100644
--- a/openwrt/package/libupnp/Makefile
+++ b/openwrt/package/libupnp/Makefile
@@ -21,7 +21,7 @@ $(eval $(call PKG_template,LIBUPNP,libupnp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)
 $(PKG_BUILD_DIR)/.configured:
 	touch $@
 
-$(PKG_BUILD_DIR)/.built:
+$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
 	$(MAKE) -C $(PKG_BUILD_DIR)/upnp \
 		$(TARGET_CONFIGURE_OPTS) \
 		OPT_FLAGS="$(TARGET_CFLAGS)" \
@@ -54,5 +54,5 @@ uninstall-dev:
 		$(STAGING_DIR)/usr/lib/libthreadutil.so \
 		$(STAGING_DIR)/usr/lib/libupnp.so \
 
-compile: install-dev
-clean: uninstall-dev
+compile-targets: install-dev
+clean-targets: uninstall-dev