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 c174a7fa5bec24dd6d8521004e1d584575e81a25..645b951e1abed552d3de04fbab0c7c49e9ec3832 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 9c3bb0d72bd93f8bf96d85ee5dc322a407038eac..5aef152cd8460377f5cd49ca15bef2ae60789417 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