X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/514499f319982ecc7b6c9c0d2302f54404ea2a6b..f94f4904272d5c4e15a27d921981746777272740:/package/iptables/Makefile diff --git a/package/iptables/Makefile b/package/iptables/Makefile index 29dcf6cdf..c81a345ff 100644 --- a/package/iptables/Makefile +++ b/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/