From 7b58e8b4d4cd279b00124e50cbbc70b01248a0ee Mon Sep 17 00:00:00 2001 From: Christian Gromm Date: Tue, 2 Aug 2016 11:48:39 +0200 Subject: recipes-kernel: update driver recipes This patch changes the recipes to fetch the driver sources from AGL's src directory. It therefore removes the redundant source files from the recipe directory. Change-Id: Ib3c48a0c7e79144713ccd8e10a89185cd929b41c Signed-off-by: Christian Gromm (cherry picked from commit 1ea0cef6934ccadc36395b60d8b8d58d69016e28) --- recipes-kernel/mocca-usb/_files/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 recipes-kernel/mocca-usb/_files/Makefile (limited to 'recipes-kernel/mocca-usb/_files/Makefile') diff --git a/recipes-kernel/mocca-usb/_files/Makefile b/recipes-kernel/mocca-usb/_files/Makefile new file mode 100644 index 00000000..fd82dbcd --- /dev/null +++ b/recipes-kernel/mocca-usb/_files/Makefile @@ -0,0 +1,17 @@ +# Makefile +# + +SRC := $(shell pwd) + +obj-m += mocca_usb.o +CFLAGS_hdm_usb.o := -I$(src)/../../aim-network/files/ -I$(src)/../../mostcore/files + +all: + $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules + +modules_install: + $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install + +clean: + $(MAKE) -C $(KERNEL_SRC) M=$(SRC) clean + -- cgit 1.2.3-korg