X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/6b53157103d462f7ea0b81f9fe77412719ea2260..a2759fb484cd09119c6b3914a11b25e3c4571c3e:/package/libamsel/Makefile diff --git a/package/libamsel/Makefile b/package/libamsel/Makefile index a14aa0470..0a32c73ea 100644 --- a/package/libamsel/Makefile +++ b/package/libamsel/Makefile @@ -18,6 +18,9 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,LIBAMSEL,libamsel,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(PKG_BUILD_DIR)/.configured: + touch $@ + $(PKG_BUILD_DIR)/.built: rm -rf $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR) @@ -30,18 +33,18 @@ $(PKG_BUILD_DIR)/.built: $(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