X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5f895d5863156fad2e2b28bb4cdee553d895f63c..b299ec7244ae53a6040ba0842318173e8fa0d0ac:/openwrt/package/libupnp/Makefile?ds=sidebyside diff --git a/openwrt/package/libupnp/Makefile b/openwrt/package/libupnp/Makefile index 88c48e751..6e862722e 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)" \ @@ -30,19 +30,19 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_LIBUPNP): install -m0755 -d $(IDIR_LIBUPNP)/usr/lib - cp -fpR $(PKG_BUILD_DIR)/upnp/bin/libixml.so $(IDIR_LIBUPNP)/usr/lib/ ; \ - cp -fpR $(PKG_BUILD_DIR)/upnp/bin/libthreadutil.so $(IDIR_LIBUPNP)/usr/lib/ ; \ - cp -fpR $(PKG_BUILD_DIR)/upnp/bin/libupnp.so $(IDIR_LIBUPNP)/usr/lib/ ; \ + $(CP) $(PKG_BUILD_DIR)/upnp/bin/libixml.so $(IDIR_LIBUPNP)/usr/lib/ ; \ + $(CP) $(PKG_BUILD_DIR)/upnp/bin/libthreadutil.so $(IDIR_LIBUPNP)/usr/lib/ ; \ + $(CP) $(PKG_BUILD_DIR)/upnp/bin/libupnp.so $(IDIR_LIBUPNP)/usr/lib/ ; \ $(RSTRIP) $(IDIR_LIBUPNP) $(IPKG_BUILD) $(IDIR_LIBUPNP) $(PACKAGE_DIR) $(STAGING_DIR)/usr/lib/libupnp.so: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/usr/include/upnp - cp -fpR $(PKG_BUILD_DIR)/upnp/inc/*.h $(STAGING_DIR)/usr/include/upnp/ + $(CP) $(PKG_BUILD_DIR)/upnp/inc/*.h $(STAGING_DIR)/usr/include/upnp/ mkdir -p $(STAGING_DIR)/usr/lib - cp -fpR $(PKG_BUILD_DIR)/upnp/bin/libixml.so $(STAGING_DIR)/usr/lib/ ; \ - cp -fpR $(PKG_BUILD_DIR)/upnp/bin/libthreadutil.so $(STAGING_DIR)/usr/lib/ ; \ - cp -fpR $(PKG_BUILD_DIR)/upnp/bin/libupnp.so $(STAGING_DIR)/usr/lib/ ; \ + $(CP) $(PKG_BUILD_DIR)/upnp/bin/libixml.so $(STAGING_DIR)/usr/lib/ ; \ + $(CP) $(PKG_BUILD_DIR)/upnp/bin/libthreadutil.so $(STAGING_DIR)/usr/lib/ ; \ + $(CP) $(PKG_BUILD_DIR)/upnp/bin/libupnp.so $(STAGING_DIR)/usr/lib/ ; \ touch $@ install-dev: $(STAGING_DIR)/usr/lib/libupnp.so @@ -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