summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/modules-4.0.mk6
-rw-r--r--mk/modules.mk4
2 files changed, 10 insertions, 0 deletions
diff --git a/mk/modules-4.0.mk b/mk/modules-4.0.mk
new file mode 100644
index 000000000..425c180ac
--- /dev/null
+++ b/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
diff --git a/mk/modules.mk b/mk/modules.mk
index 91b31f0dd..0b14a5443 100644
--- a/mk/modules.mk
+++ b/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