X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/51eb9547f2830a0fcbb76f228af4a130a4227a38..296af0765342e14cb545763aa7b1d906e224d7ca:/openwrt/package/libamsel/Makefile?ds=inline diff --git a/openwrt/package/libamsel/Makefile b/openwrt/package/libamsel/Makefile index 795787fdf..0a32c73ea 100644 --- a/openwrt/package/libamsel/Makefile +++ b/openwrt/package/libamsel/Makefile @@ -18,7 +18,10 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,LIBAMSEL,libamsel,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.prepared +$(PKG_BUILD_DIR)/.configured: + touch $@ + +$(PKG_BUILD_DIR)/.built: rm -rf $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ @@ -30,18 +33,18 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.prepared $(IPKG_LIBAMSEL): install -d -m0755 $(IDIR_LIBAMSEL)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/* $(IDIR_LIBAMSEL)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(IDIR_LIBAMSEL)/usr/lib $(RSTRIP) $(IDIR_LIBAMSEL) $(IPKG_BUILD) $(IDIR_LIBAMSEL) $(PACKAGE_DIR) $(STAGING_DIR)/usr/lib/libamsel.so: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/usr/include - cp -fpR $(PKG_INSTALL_DIR)/usr/include/amsel/compat.h $(STAGING_DIR)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/amsel/compat.h $(STAGING_DIR)/usr/include/ mkdir -p $(STAGING_DIR)/usr/include/compat - cp -fpR $(PKG_INSTALL_DIR)/usr/include/amsel/compat/queue.h $(STAGING_DIR)/usr/include/compat + $(CP) $(PKG_INSTALL_DIR)/usr/include/amsel/compat/queue.h $(STAGING_DIR)/usr/include/compat mkdir -p $(STAGING_DIR)/usr/lib/ - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libamsel.so $(STAGING_DIR)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libamsel.so $(STAGING_DIR)/usr/lib/ touch $(STAGING_DIR)/usr/lib/libamsel.so install-dev: $(STAGING_DIR)/usr/lib/libamsel.so @@ -52,6 +55,6 @@ uninstall-dev: $(STAGING_DIR)/usr/include/compat \ $(STAGING_DIR)/usr/lib/libamsel.so \ -compile: install-dev -clean: uninstall-dev +compile-targets: install-dev +clean-targets: uninstall-dev