[etrax] Force usb features, fix depends
authorClaudio Mignanti <c.mignanti@gmail.com>
Thu, 3 Jun 2010 09:52:34 +0000 (09:52 +0000)
committerClaudio Mignanti <c.mignanti@gmail.com>
Thu, 3 Jun 2010 09:52:34 +0000 (09:52 +0000)
SVN-Revision: 21664

target/linux/etrax/Makefile
target/linux/etrax/modules.mk

index c174a7f..645b951 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=cris
 BOARD:=etrax
 BOARDNAME:=Foxboard (ETRAX 100LX)
-FEATURES:=squashfs jffs2
+FEATURES:=squashfs jffs2 usb
 LINUX_VERSION:=2.6.32.14
 DEVICE_TYPE=
 
index 9c3bb0d..5aef152 100644 (file)
@@ -8,12 +8,11 @@
 define KernelPackage/usb-etrax
   SUBMENU:=$(USB_MENU)
   TITLE:=Support for the ETRAX USB host controller
-  DEPENDS:=@TARGET_etrax
   KCONFIG:=CONFIG_ETRAX_USB_HOST \
        CONFIG_ETRAX_USB_HOST_PORT1=y CONFIG_ETRAX_USB_HOST_PORT2=y
   FILES:=$(LINUX_DIR)/drivers/usb/host/hc-crisv10.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,50,hc-crisv10,1)
-  $(call AddDepends/usb)
+  $(call AddDepends/usb,@TARGET_etrax)
 endef
 
 define KernelPackage/usb-etrax/description