X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/fb845b0ca5bc8fe90901bbcf70a682deedc437cf..9bca75a757d78c9269276d30a73240d26f727932:/openwrt/package/iptables/Makefile?ds=sidebyside diff --git a/openwrt/package/iptables/Makefile b/openwrt/package/iptables/Makefile index 29dcf6cdf..c81a345ff 100644 --- a/openwrt/package/iptables/Makefile +++ b/openwrt/package/iptables/Makefile @@ -22,6 +22,9 @@ $(eval $(call PKG_template,IPTABLES_EXTRA,iptables-extra,$(PKG_VERSION)-$(PKG_RE $(eval $(call PKG_template,IPTABLES_UTILS,iptables-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,IP6TABLES,ip6tables,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(PKG_BUILD_DIR)/.configured: + touch $@ + $(PKG_BUILD_DIR)/.built: chmod a+x $(PKG_BUILD_DIR)/extensions/.*-test mkdir -p $(PKG_INSTALL_DIR) @@ -31,7 +34,7 @@ $(PKG_BUILD_DIR)/.built: KERNEL_DIR=$(LINUX_DIR) PREFIX=/usr \ DESTDIR="$(PKG_INSTALL_DIR)" \ all install install-devel - touch $(PKG_BUILD_DIR)/.built + touch $@ $(IPKG_IPTABLES): install -d -m0755 $(IDIR_IPTABLES)/usr/sbin @@ -68,6 +71,7 @@ $(IPKG_IP6TABLES): $(IPKG_BUILD) $(IDIR_IP6TABLES) $(PACKAGE_DIR) $(STAGING_DIR)/usr/lib/libipq.a: $(PKG_BUILD_DIR)/.built + mkdir -p $(STAGING_DIR)/usr/include/ $(STAGING_DIR)/usr/lib/ cp -fpR $(PKG_INSTALL_DIR)/usr/include/libipq.h $(STAGING_DIR)/usr/include/ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libipq.a $(STAGING_DIR)/usr/lib/