Browse Source

add 4.0 separate file

Waldemar Brodkorb 9 years ago
parent
commit
1ab0cac2bd
2 changed files with 10 additions and 0 deletions
  1. 6 0
      mk/modules-4.0.mk
  2. 4 0
      mk/modules.mk

+ 6 - 0
mk/modules-4.0.mk

@@ -0,0 +1,6 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+USBMODULES+=drivers/usb/common/usb-common
+USBMODULES+=drivers/usb/core/usbcore
+USBUDC:=gadget/udc

+ 4 - 0
mk/modules.mk

@@ -1,6 +1,10 @@
 # This file is part of the OpenADK project. OpenADK is copyrighted
 # material, please see the LICENCE file in the top-level directory.
 
+ifeq ($(ADK_KERNEL_VERSION_4_0),y)
+include $(ADK_TOPDIR)/mk/modules-4.0.mk
+endif
+
 ifeq ($(ADK_KERNEL_VERSION_3_19),y)
 include $(ADK_TOPDIR)/mk/modules-3.19.mk
 endif