X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/00ced3071742f70fcf3708770795f055bcfdd05e..bc85c5aeaf04f3cc1fab6e20ccfeb22cc960f0cb:/package/iproute2/Makefile diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile index 7354820a0..a5d90f5a5 100644 --- a/package/iproute2/Makefile +++ b/package/iproute2/Makefile @@ -4,7 +4,6 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id$ include $(TOPDIR)/rules.mk @@ -58,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 @@ -79,6 +85,4 @@ $(eval $(call BuildPackage,ip)) $(eval $(call BuildPackage,tc)) $(eval $(call BuildPackage,genl)) -$(eval $(call RequireCommand,bison, \ - $(PKG_NAME) requires GNU bison. \ -)) +