diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-09-28 01:45:11 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-09-28 01:45:11 +0000 |
commit | 969ac7459ee6f948ea1c8804cc38d659e0c4a9d1 (patch) | |
tree | 7fa927cde9937adeae52d231c1266c7432dc9316 /package/iptables/Makefile | |
parent | 800ef0f56ca5971811267b5639c7895c2d569491 (diff) | |
download | mtk-20170518-969ac7459ee6f948ea1c8804cc38d659e0c4a9d1.zip mtk-20170518-969ac7459ee6f948ea1c8804cc38d659e0c4a9d1.tar.gz mtk-20170518-969ac7459ee6f948ea1c8804cc38d659e0c4a9d1.tar.bz2 |
add $(STAGING_DIR) as argument to the InstallDev template and update packages accordingly - this way we can reuse InstallDev to automatically generate UninstallDev or create -dev packages
SVN-Revision: 9052
Diffstat (limited to 'package/iptables/Makefile')
-rw-r--r-- | package/iptables/Makefile | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile index 94c81ba..0105530 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -222,22 +222,22 @@ define Build/InstallDev $(TARGET_CONFIGURE_OPTS) \ COPT_FLAGS="$(TARGET_CFLAGS)" \ KERNEL_DIR="$(LINUX_DIR)" PREFIX=/usr \ - DESTDIR="$(STAGING_DIR)" \ + DESTDIR="$(1)" \ install-devel - $(CP) $(PKG_BUILD_DIR)/include $(STAGING_DIR)/usr - $(CP) $(PKG_BUILD_DIR)/libiptc/libiptc.a $(STAGING_DIR)/usr/lib + $(CP) $(PKG_BUILD_DIR)/include $(1)/usr + $(CP) $(PKG_BUILD_DIR)/libiptc/libiptc.a $(1)/usr/lib endef define Build/UninstallDev - rm -rf $(STAGING_DIR)/usr/include/libipq.h - rm -rf $(STAGING_DIR)/usr/include/libipulog - rm -rf $(STAGING_DIR)/usr/include/libipq - rm -rf $(STAGING_DIR)/usr/include/libiptc - rm -rf $(STAGING_DIR)/usr/include/linux/netfilter* - rm -rf $(STAGING_DIR)/usr/include/iptables* - rm -rf $(STAGING_DIR)/usr/include/ip6tables* - rm -rf $(STAGING_DIR)/usr/lib/libipq.a - rm -rf $(STAGING_DIR)/usr/lib/libiptc.a + rm -rf $(1)/usr/include/libipq.h + rm -rf $(1)/usr/include/libipulog + rm -rf $(1)/usr/include/libipq + rm -rf $(1)/usr/include/libiptc + rm -rf $(1)/usr/include/linux/netfilter* + rm -rf $(1)/usr/include/iptables* + rm -rf $(1)/usr/include/ip6tables* + rm -rf $(1)/usr/lib/libipq.a + rm -rf $(1)/usr/lib/libiptc.a endef define Package/iptables/install |