install more iptables development stuff into the staging dir

SVN-Revision: 3713
master
Felix Fietkau 19 years ago
parent 2e8ae650fe
commit 46c52a3d5a
  1. 10
      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:

Loading…
Cancel
Save