[package] exclude pktgen for uml target
authorFlorian Fainelli <florian@openwrt.org>
Fri, 29 Apr 2011 12:04:17 +0000 (12:04 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 29 Apr 2011 12:04:17 +0000 (12:04 +0000)
SVN-Revision: 26781

package/kernel/modules/netsupport.mk

index 8987fe4598ac53f9bbedcc91553008df70b597c1..cc6010b459fcfc3c7cae0c41dad06a4bdf6d33c8 100644 (file)
@@ -637,6 +637,7 @@ $(eval $(call KernelPackage,mp-alg))
 
 define KernelPackage/pktgen
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
 
 define KernelPackage/pktgen
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
+  DEPENDS:=@!TARGET_uml
   TITLE:=Network packet generator
   KCONFIG:=CONFIG_NET_PKTGEN
   FILES:=$(LINUX_DIR)/net/core/pktgen.ko
   TITLE:=Network packet generator
   KCONFIG:=CONFIG_NET_PKTGEN
   FILES:=$(LINUX_DIR)/net/core/pktgen.ko