summaryrefslogtreecommitdiff
path: root/openwrt/package/iptables
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-04-29 21:43:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-04-29 21:43:26 +0000
commit4f947e034a04664016f39a15333844c878620580 (patch)
treef3936aae5f2c017448803ff646ef3d11df7bcb95 /openwrt/package/iptables
parent29553d8436c8aa482501115bacbc232e924898f4 (diff)
downloadmtk-20170518-4f947e034a04664016f39a15333844c878620580.zip
mtk-20170518-4f947e034a04664016f39a15333844c878620580.tar.gz
mtk-20170518-4f947e034a04664016f39a15333844c878620580.tar.bz2
install more iptables development stuff into the staging dir
SVN-Revision: 3713
Diffstat (limited to 'openwrt/package/iptables')
-rw-r--r--openwrt/package/iptables/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/openwrt/package/iptables/Makefile b/openwrt/package/iptables/Makefile
index f16ac8b..73156b9 100644
--- a/openwrt/package/iptables/Makefile
+++ b/openwrt/package/iptables/Makefile
@@ -108,10 +108,12 @@ $(IPKG_IP6TABLES):
$(IPKG_BUILD) $(IDIR_IP6TABLES) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/lib/libipq.a: $(PKG_BUILD_DIR)/.built
- mkdir -p $(STAGING_DIR)/usr/include
- $(CP) $(PKG_INSTALL_DIR)/usr/include/libipq.h $(STAGING_DIR)/usr/include/
- mkdir -p $(STAGING_DIR)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libipq.a $(STAGING_DIR)/usr/lib/
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ $(TARGET_CONFIGURE_OPTS) \
+ CC=$(TARGET_CC) COPT_FLAGS="$(TARGET_CFLAGS)" \
+ KERNEL_DIR=$(LINUX_DIR) PREFIX=/usr \
+ DESTDIR="$(STAGING_DIR)" \
+ install install-devel
layer7-install:
mkdir -p $(IDIR_IPTABLES_MOD_FILTER)/etc/l7-protocols