cleanup
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 30 Jun 2007 12:11:46 +0000 (12:11 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 30 Jun 2007 12:11:46 +0000 (12:11 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7789 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/kernel/modules/usb.mk

index 1add875..12a55d7 100644 (file)
@@ -11,19 +11,15 @@ USBMENU:=USB Support
 ifeq ($(KERNEL),2.4)
   USBNET_DIR:=usb/net
 endif
-ifeq ($(KERNEL_PATCHVER),2.6.21)
-  USBNET_DIR:=usb/net
-endif
-USBNET_DIR?=net/usb
-
-ifeq ($(KERNEL_PATCHVER),2.6.21)
-  USBHID_DIR:=drivers/usb/input
-endif
-USBHID_DIR?=drivers/hid/usbhid
 
 ifeq ($(KERNEL_PATCHVER),2.6.21)
+  USBNET_DIR:=usb/net
+  USBHID_DIR:=usb/input
   USBINPUT_DIR:=usb/input
 endif
+
+USBNET_DIR?=net/usb
+USBHID_DIR?=hid/usbhid
 USBINPUT_DIR?=input/misc
 
 define usbdep
@@ -411,7 +407,7 @@ define KernelPackage/usb-hid
 endef
 
 define KernelPackage/usb-hid/2.6
-  FILES:=$(LINUX_DIR)/$(USBHID_DIR)/usbhid.ko
+  FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
 endef
 $(eval $(call KernelPackage,usb-hid))
 
This page took 0.022605 seconds and 4 git commands to generate.