diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-05 11:51:51 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-05 11:51:51 +0000 |
commit | 36832dd0b631b6c22275e8b9aa3d44283ee932e7 (patch) | |
tree | 1ec0ac61d81c43b79e5ab329251b84f99a57e2c3 /package/iptables | |
parent | b3c236efccceeda1e2d34a0d8550a651ce8057b6 (diff) | |
download | upstream-36832dd0b631b6c22275e8b9aa3d44283ee932e7.tar.gz upstream-36832dd0b631b6c22275e8b9aa3d44283ee932e7.tar.bz2 upstream-36832dd0b631b6c22275e8b9aa3d44283ee932e7.zip |
[package] iptables: install essential headers into staging dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15621 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables')
-rw-r--r-- | package/iptables/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile index cfbdb6c78e..6d912a066e 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -266,6 +266,14 @@ endef define Build/InstallDev mkdir -p $(1)/usr/include + mkdir -p $(1)/usr/include/iptables + mkdir -p $(1)/usr/include/net/netfilter + + # XXX: iptables header fixup, some headers are not installed by iptables anymore + $(CP) $(PKG_BUILD_DIR)/include/net/netfilter/*.h $(1)/usr/include/net/netfilter/ + $(CP) $(PKG_BUILD_DIR)/include/iptables/*.h $(1)/usr/include/iptables/ + $(CP) $(PKG_BUILD_DIR)/include/iptables.h $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ mkdir -p $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libxtables.{a,so*} $(1)/usr/lib/ |