[package] iproute2: install netlink header and library
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 26 May 2009 21:58:24 +0000 (21:58 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 26 May 2009 21:58:24 +0000 (21:58 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16100 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/iproute2/Makefile

index 4fd34f2..a5d90f5 100644 (file)
@@ -57,6 +57,13 @@ define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS) KERNEL_INCLUDE=$(LINUX_DIR)/include all tc/tc ip/ip
 endef
 
        $(MAKE) -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS) KERNEL_INCLUDE=$(LINUX_DIR)/include all tc/tc ip/ip
 endef
 
+define Build/InstallDev
+       $(INSTALL_DIR) $(1)/usr/include
+       $(CP) $(PKG_BUILD_DIR)/include/libnetlink.h $(1)/usr/include/
+       $(INSTALL_DIR) $(1)/usr/lib
+       $(CP) $(PKG_BUILD_DIR)/lib/libnetlink.a $(1)/usr/lib/
+endef
+
 define Package/ip/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_DIR) $(1)/etc/iproute2
 define Package/ip/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_DIR) $(1)/etc/iproute2
This page took 0.021305 seconds and 4 git commands to generate.