From d30e570a35bf60b8c78b804608af2fe13a69e41d Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Wed, 31 Oct 2018 15:01:52 +0100 Subject: Add package for sllin driver to image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The sllin driver is needed for the AGL demo unit to drive the actuator and fan. Change-Id: I76a8e7876148b6c2fcbc526a64a7ec132668c754 Signed-off-by: Jan-Simon Möller --- .../sllin/files/0001_update_makefile.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 recipes-kernel/sllin/files/0001_update_makefile.patch (limited to 'recipes-kernel/sllin/files/0001_update_makefile.patch') diff --git a/recipes-kernel/sllin/files/0001_update_makefile.patch b/recipes-kernel/sllin/files/0001_update_makefile.patch new file mode 100644 index 00000000..7db57802 --- /dev/null +++ b/recipes-kernel/sllin/files/0001_update_makefile.patch @@ -0,0 +1,21 @@ +diff --git a/sllin/Makefile b/sllin/Makefile +index 8ae7510..037846f 100644 +--- a/sllin/Makefile ++++ b/sllin/Makefile +@@ -1,10 +1,11 @@ + obj-m += sllin.o +-KPATH=/lib/modules/$(shell uname -r)/build ++KPATH=$(KERNEL_SRC) + #KPATH=/mnt/data/_dokumenty_/_w_/_dce_can_/src/can-benchmark/kernel/build/shark/3.0.4 + #KPATH=/mnt/data/_dokumenty_/_w_/_dce_can_/src/can-benchmark/kernel/build/shark/2.6.36 +- ++SRC := $(shell pwd) + all: +- make -C ${KPATH} M=$(PWD) modules +- ++ make -C ${KPATH} M=$(SRC) modules ++modules_install: ++ make -C ${KPATH} M=$(SRC) modules_install + clean: +- make -C ${KPATH} M=$(PWD) clean ++ make -C ${KPATH} M=$(SRC) clean -- cgit 1.2.3-korg