diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/kernel-ver.mk | 2 | ||||
-rw-r--r-- | mk/modules.mk | 13 |
2 files changed, 11 insertions, 4 deletions
diff --git a/mk/kernel-ver.mk b/mk/kernel-ver.mk index e0b3d1299..c2089e1b2 100644 --- a/mk/kernel-ver.mk +++ b/mk/kernel-ver.mk @@ -1,6 +1,6 @@ ifeq ($(ADK_KERNEL_VERSION_3_19_0),y) KERNEL_VERSION:= 3.19 -KERNEL_MOD_VERSION:= 0 +KERNEL_MOD_VERSION:= $(KERNEL_VERSION).0 KERNEL_RELEASE:= 1 KERNEL_HASH:= be42511fe5321012bb4a2009167ce56a9e5fe362b4af43e8c371b3666859806c endif diff --git a/mk/modules.mk b/mk/modules.mk index f2eb17b68..ccb48ba3e 100644 --- a/mk/modules.mk +++ b/mk/modules.mk @@ -1215,15 +1215,22 @@ $(eval $(call KMOD_template,INPUT_EVDEV,input-evdev,\ # USBMODULES:= +USBMODULES+=drivers/usb/usb-common +USBMODULES+=drivers/usb/core/usbcore +USBUDC:=gadget + ifeq ($(KERNEL_BASE),3) ifeq ($(KERNEL_MAJ),18) +USBMODULES:= USBMODULES+=drivers/usb/common/usb-common USBMODULES+=drivers/usb/core/usbcore USBUDC:=gadget/udc -else -USBMODULES+=drivers/usb/usb-common +endif +ifeq ($(KERNEL_MAJ),19) +USBMODULES:= +USBMODULES+=drivers/usb/common/usb-common USBMODULES+=drivers/usb/core/usbcore -USBUDC:=gadget +USBUDC:=gadget/udc endif endif |