aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-support/sllin/files/0001-cross-compile.patch
diff options
context:
space:
mode:
authorGrigory Kletsko <grigory.kletsko@cogentembedded.com>2016-06-17 15:51:56 +0300
committerYannick Gicquel <yannick.gicquel@iot.bzh>2016-09-07 15:45:38 +0200
commitfaeca29216f27f17cc3922d00e98a72067e4120f (patch)
tree60f42c55c06f8e13c019b6eecedb5c87edc1985a /common/recipes-support/sllin/files/0001-cross-compile.patch
parenteb2c1a7e212e61159c92cf2b127bfe264b7d231c (diff)
Add sllin kernel module for LIN support
For porter ext01 board use ldattach 25 /dev/ttySC9 to enable sllin line discipline.
Diffstat (limited to 'common/recipes-support/sllin/files/0001-cross-compile.patch')
-rw-r--r--common/recipes-support/sllin/files/0001-cross-compile.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/common/recipes-support/sllin/files/0001-cross-compile.patch b/common/recipes-support/sllin/files/0001-cross-compile.patch
new file mode 100644
index 0000000..8011028
--- /dev/null
+++ b/common/recipes-support/sllin/files/0001-cross-compile.patch
@@ -0,0 +1,26 @@
+From c65b62a8e1b183fac9a32f7b0282b4f3156a5840 Mon Sep 17 00:00:00 2001
+From: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
+Date: Tue, 19 Apr 2016 14:15:07 +0300
+Subject: [PATCH 1/2] cross-compile
+
+
+Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
+---
+ sllin/Makefile | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/sllin/Makefile b/sllin/Makefile
+index 8ae7510..23caf8e 100644
+--- a/sllin/Makefile
++++ b/sllin/Makefile
+@@ -1,7 +1,5 @@
+ obj-m += sllin.o
+-KPATH=/lib/modules/$(shell uname -r)/build
+-#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
++#KPATH=/lib/modules/$(shell uname -r)/build
+
+ all:
+ make -C ${KPATH} M=$(PWD) modules
+--
+1.7.10.4