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 | b7569a3a34b8666a8df26890e6e82d714b97eb22 (patch) | |
tree | 63d2d37819e067da351deb3ae403ff61de820557 /package/iptables/Makefile | |
parent | ca29771c2a631fc669217f8c9b8873a032537807 (diff) | |
download | mtk-20170518-b7569a3a34b8666a8df26890e6e82d714b97eb22.zip mtk-20170518-b7569a3a34b8666a8df26890e6e82d714b97eb22.tar.gz mtk-20170518-b7569a3a34b8666a8df26890e6e82d714b97eb22.tar.bz2 |
iptables: install essential headers into staging dir
SVN-Revision: 15621
Diffstat (limited to 'package/iptables/Makefile')
-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 cfbdb6c..6d912a0 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/ |