From 45e14d9435eef26cb8afb152a56d9f303192fbdd Mon Sep 17 00:00:00 2001 From: Christian Gromm Date: Wed, 16 Dec 2015 13:42:25 +0100 Subject: recipes-kernel: add MOST driver kernel modules This commit adds the recipes-kernel directory to the meta-agl-demo layer. It is needed to add the MOST driver to the AGL layer and have it compiled as out-of-tree modules. Change-Id: I38174a2f9a59b0424cfaf2f85f059550422f58f2 Signed-off-by: Christian Gromm --- recipes-kernel/hdm-dim2/files/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipes-kernel/hdm-dim2/files/Makefile (limited to 'recipes-kernel/hdm-dim2/files/Makefile') diff --git a/recipes-kernel/hdm-dim2/files/Makefile b/recipes-kernel/hdm-dim2/files/Makefile new file mode 100644 index 00000000..a9dc62ab --- /dev/null +++ b/recipes-kernel/hdm-dim2/files/Makefile @@ -0,0 +1,18 @@ +# Makefile +# + +SRC := $(shell pwd) + +obj-m += hdm_dim2.o +hdm_dim2-y := dim2_hdm.o dim2_hal.o dim2_sysfs.o +CFLAGS_dim2_hdm.o := -I$(src)/../../mostcore/files -I$(src)/../../aim-network/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