summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-25 08:55:24 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-25 09:55:42 -0500
commit1ab0cac2bdc797f84cec28f3d545cb9d37921fc4 (patch)
tree761753eed39f049a4c18f812f7238b936e77dfd2 /mk
parent255d6a56f2b8deb78ad671e2201f2634990b75c7 (diff)
add 4.0 separate file
Diffstat (limited to 'mk')
-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