X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ee5bdf5fc89064099baf34062693835772b25671..3811f77e30bd1ced9f69708b3dbcf28bf3ba88d1:/package/iproute2/Makefile diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile index 4fd34f20b..a5d90f5a5 100644 --- a/package/iproute2/Makefile +++ b/package/iproute2/Makefile @@ -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 +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