From 1ab0cac2bdc797f84cec28f3d545cb9d37921fc4 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 25 May 2015 08:55:24 -0500 Subject: add 4.0 separate file --- mk/modules-4.0.mk | 6 ++++++ mk/modules.mk | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 mk/modules-4.0.mk 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 -- cgit v1.2.3