X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a4a6443af12b7758b12020f561fa7fe2e0a3e87f..96bea49d845d31e8ceb59a010125f62d48bad8ef:/package/iptables/Makefile diff --git a/package/iptables/Makefile b/package/iptables/Makefile index 76014aa14..d22310a0e 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -173,7 +173,7 @@ define Build/Compile COPT_FLAGS="$(TARGET_CFLAGS)" \ KERNEL_DIR="$(LINUX_DIR)" PREFIX=/usr \ DESTDIR="$(PKG_INSTALL_DIR)" \ - all install install-devel + all install endef define Build/InstallDev @@ -182,12 +182,21 @@ define Build/InstallDev COPT_FLAGS="$(TARGET_CFLAGS)" \ KERNEL_DIR="$(LINUX_DIR)" PREFIX=/usr \ DESTDIR="$(STAGING_DIR)" \ - install install-devel + install-devel + $(CP) $(PKG_BUILD_DIR)/include $(STAGING_DIR)/usr + $(CP) $(PKG_BUILD_DIR)/libiptc/libiptc.a $(STAGING_DIR)/usr/lib endef define Build/UninstallDev rm -rf $(STAGING_DIR)/usr/include/libipq.h + rm -rf $(STAGING_DIR)/usr/include/libipulog + rm -rf $(STAGING_DIR)/usr/include/libipq + rm -rf $(STAGING_DIR)/usr/include/libiptc + rm -rf $(STAGING_DIR)/usr/include/linux/netfilter* + rm -rf $(STAGING_DIR)/usr/include/iptables* + rm -rf $(STAGING_DIR)/usr/include/ip6tables* rm -rf $(STAGING_DIR)/usr/lib/libipq.a + rm -rf $(STAGING_DIR)/usr/lib/libiptc.a endef define Package/iptables/install