X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/99867b24bf6a8beb6b4198e6c514bcfaa974ff4d..1f500407b23457966d59e9fa7b9c5a4bd94ecf2e:/package/iproute2/Makefile diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile index b36b95bc9..c7c3e2be5 100644 --- a/package/iproute2/Makefile +++ b/package/iproute2/Makefile @@ -33,6 +33,7 @@ endef define Package/tc $(call Package/iproute2/Default) TITLE:=Traffic control utility + DEPENDS:=+kmod-sched endef define Package/genl @@ -51,9 +52,15 @@ define Build/Configure $(SED) "s, misc,," $(PKG_BUILD_DIR)/Makefile endef +MAKE_FLAGS += \ + EXTRA_CCOPTS="$(TARGET_CFLAGS)" \ + KERNEL_INCLUDE="$(LINUX_DIR)/include" \ + FPIC="$(FPIC)" \ + all tc/tc ip/ip + define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR)/netem HOSTCC="$(HOSTCC)" EXTRA_CCOPTS="$(TARGET_CFLAGS)" CFLAGS="-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I ../include -DRESOLVE_HOSTNAMES" - $(MAKE) -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS) EXTRA_CCOPTS="$(TARGET_CFLAGS)" KERNEL_INCLUDE=$(LINUX_DIR)/include all tc/tc ip/ip + $(Build/Compile/Default) endef define Build/InstallDev