iproute2: install netlink header and library
SVN-Revision: 16100
This commit is contained in:
parent
0fc0346e0a
commit
f4e312ddf8
1 changed files with 7 additions and 0 deletions
|
@ -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
|
$(MAKE) -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS) KERNEL_INCLUDE=$(LINUX_DIR)/include all tc/tc ip/ip
|
||||||
endef
|
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
|
define Package/ip/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_DIR) $(1)/etc/iproute2
|
$(INSTALL_DIR) $(1)/etc/iproute2
|
||||||
|
|
Loading…
Reference in a new issue