- # The makefile put the modules to a wrong place move back...
- cp -rf /lib/modules/$(KVER)-$(VERSUFIX)/lib /
- rm -rf /lib/modules/$(KVER)-$(VERSUFIX)/lib
+ # Enable some USB ID's in rt2800usb driver
+ echo "CONFIG_RT2800USB_RT30XX=y" >> $(DIR_APP)/config.mk
+ echo "CONFIG_RT2800USB_RT35XX=y" >> $(DIR_APP)/config.mk
+ echo "CONFIG_RT2800USB_UNKNOWN=y" >> $(DIR_APP)/config.mk
+
+ # Copy USB-Net drivers from Kernel...
+ mkdir $(DIR_APP)/drivers/net/usb/new
+ cp $(DIR_APP)/drivers/net/usb/*.c $(DIR_APP)/drivers/net/usb/new
+ cp /usr/src/linux/drivers/net/usb/{*.c,*.h,Makefile} $(DIR_APP)/drivers/net/usb
+ cp $(DIR_APP)/drivers/net/usb/new/*.c $(DIR_APP)/drivers/net/usb