aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit30033bf68ef25f788e06458b71bd5ffcf81c9556 (patch)
tree1cb2ed60251552b620077f3f7111d566c7bdd645 /package/iptables/Makefile
parent5213f8247aabb6785e1759de85817eb5d16d7622 (diff)
downloadupstream-30033bf68ef25f788e06458b71bd5ffcf81c9556.tar.gz
upstream-30033bf68ef25f788e06458b71bd5ffcf81c9556.tar.bz2
upstream-30033bf68ef25f788e06458b71bd5ffcf81c9556.zip
install more iptables development stuff into the staging dir
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3713 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables/Makefile')
-rw-r--r--package/iptables/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index bca0610614..fc57f9c701 100644
--- a/package/iptables/Makefile
+++ b/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: