diff options
Diffstat (limited to 'common/recipes-support/sllin/sllin_git.bb')
-rw-r--r-- | common/recipes-support/sllin/sllin_git.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/common/recipes-support/sllin/sllin_git.bb b/common/recipes-support/sllin/sllin_git.bb new file mode 100644 index 0000000..775e1d2 --- /dev/null +++ b/common/recipes-support/sllin/sllin_git.bb @@ -0,0 +1,35 @@ +SUMMARY = "Linux LIN bus drivers and tools" +SECTION = "kernel/modules" +DEPENDS = "virtual/kernel" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://sllin.c;md5=ac3527fbbdb552a45de22cc3f56a7fe4" + +PN = "sllin" +PE = "1" +PV = "0.1" + +SRC_URI = "git://rtime.felk.cvut.cz/linux-lin.git \ + file://0001-cross-compile.patch;striplevel=2 \ + file://0002-fix-termios-struct-access.patch;striplevel=2 \ + file://0003-disable-debug-fix-otput-formating.patch;striplevel=2 \ +" +SRCREV = "5c02d1856f32f8206f467b11cb61faf557c1882f" + +S = "${WORKDIR}/git/sllin" + +inherit module + +EXTRA_OEMAKE = "KPATH=${STAGING_KERNEL_DIR} KLIB=${D}" + +do_install() { + # Create shared folder + install -d ${D}/lib/modules/${KERNEL_VERSION}/tty/ + + # Copy kernel module + install -m 0644 ${S}/sllin.ko ${D}/lib/modules/${KERNEL_VERSION}/tty/ +} + +FILES_kernel-module-${PN} = " \ + /lib/modules/${KERNEL_VERSION}/tty/sllin.ko \ +"
\ No newline at end of file |