summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-25 13:55:24 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-25 14:55:42 (GMT)
commit1ab0cac2bdc797f84cec28f3d545cb9d37921fc4 (patch)
tree761753eed39f049a4c18f812f7238b936e77dfd2
parent255d6a56f2b8deb78ad671e2201f2634990b75c7 (diff)
add 4.0 separate file
-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 0000000..425c180
--- /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 91b31f0..0b14a54 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