X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-kernel%2Fsllin%2Fsllin.bb;h=2accf40f986a9332a5a0bdc843fdf642b5fc310d;hb=07796624b6fe3feaa88990002ce9195b22977bdd;hp=7c4313f16958960cd6e9b742117496b59e9a78c0;hpb=fb407cc3cbb66df0a154ef400294d209fb681b22;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-kernel/sllin/sllin.bb b/recipes-kernel/sllin/sllin.bb index 7c4313f16..2accf40f9 100644 --- a/recipes-kernel/sllin/sllin.bb +++ b/recipes-kernel/sllin/sllin.bb @@ -1,51 +1,47 @@ DESCRIPTION = "slLIN driver module" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://sllin.c;beginline=7;endline=37;md5=6408e14dba951f8cbe3c2a003a0d89d2" inherit module systemd DEPENDS = "virtual/kernel" -SRC_URI = "git://github.com/trainman419/linux-lin.git;protocol=https" +SRC_URI = "git://github.com/trainman419/linux-lin.git;protocol=https;branch=master" SRCREV = "155d885e8ccc907a56f6c86c4b159fac27ef6fec" S = "${WORKDIR}/git/sllin" PV = "0.1+git${SRCPV}" -SRC_URI_append = " \ +SRC_URI:append = " \ file://0001_update_makefile.patch;pnum=2 \ file://0002_fix_null_operation_check.patch;pnum=2 \ file://0003-Allow-recent-kernels-newer-4.11.x-to-build.patch;pnum=2 \ file://0001-Disable-sllin-driver-debug-log.patch;pnum=2 \ + file://0004-Fix-build-with-5.9-kernel.patch;pnum=2 \ + file://0005-Fix-build-with-5.13-kernel.patch;pnum=2 \ + file://0006-Fix-build-with-5.14-kernel.patch;pnum=2 \ file://sllin-demo.service \ - file://sllin-demo-virtual.service \ file://start_lin_demo.sh \ file://lin_config.conf \ " -KERNEL_MODULE_AUTOLOAD_append = " sllin" -KERNEL_MODULE_PROBECONF_append = " sllin" +KERNEL_MODULE_AUTOLOAD:append = " sllin" +KERNEL_MODULE_PROBECONF:append = " sllin" SLLINBAUDRATE ??= "9600" module_conf_sllin = "options sllin baudrate=${SLLINBAUDRATE}" -SYSTEMD_SERVICE_${PN} = "sllin-demo.service" -SYSTEMD_SERVICE_${PN}-virtual = "sllin-demo-virtual.service" +SYSTEMD_SERVICE:${PN} = "sllin-demo.service" -do_install_append () { +do_install:append () { install -d 644 ${D}/${bindir} install -m 755 ${WORKDIR}/start_lin_demo.sh ${D}/${bindir}/start_lin_demo.sh install -d ${D}${systemd_system_unitdir} install -m 0644 ${WORKDIR}/sllin-demo.service ${D}${systemd_system_unitdir}/ - install -m 0644 ${WORKDIR}/sllin-demo-virtual.service ${D}${systemd_system_unitdir}/ install -d ${D}${sysconfdir} install -m 0644 ${WORKDIR}/lin_config.conf ${D}${sysconfdir}/ } -PACKAGES =+ "${PN}-virtual" +FILES:${PN} += "${bindir}/start_lin_demo.sh ${sysconfdir}/lin_config.conf" -FILES_${PN} += "${bindir}/start_lin_demo.sh ${sysconfdir}/lin_config.conf" - -FILES_${PN}-virtual = "${systemd_system_unitdir}/sllin-demo-virtual.service" - -RDEPENDS_${PN} += "lin-config" +RDEPENDS:${PN} += "lin-config"