summaryrefslogtreecommitdiff
path: root/openwrt/package/iptables/Makefile
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
commit46c52a3d5aee153a286c873839d6a65bb5e0e8b2 (patch)
tree16ccb76fde2435e38cf08b2de4d76675bd9ffcdd /openwrt/package/iptables/Makefile
parent2e8ae650fe965145c428812a298854b57f55a690 (diff)
downloadmtk-20170518-46c52a3d5aee153a286c873839d6a65bb5e0e8b2.zip
mtk-20170518-46c52a3d5aee153a286c873839d6a65bb5e0e8b2.tar.gz
mtk-20170518-46c52a3d5aee153a286c873839d6a65bb5e0e8b2.tar.bz2
install more iptables development stuff into the staging dir
SVN-Revision: 3713
Diffstat (limited to 'openwrt/package/iptables/Makefile')
-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 bca0610..fc57f9c 100644
--- a/openwrt/package/iptables/Makefile
+++ b/openwrt/package/iptables/Makefile
@@ -226,10 +226,12 @@ $(eval $(call BuildPackage,ip6tables))
$(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
install-dev: $(STAGING_DIR)/usr/lib/libipq.a
uninstall-dev: