From 12ad591d3038db609db5290d8bbe809a34c743de Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Fri, 20 Aug 2021 13:58:45 -0400 Subject: Convert to new override syntax This is effectively a manual cherry-pick and squash of commits: 4249268041b879b3d2bae338d5de88f4f2d54b26 07f4ab8c2833ae5377b97cc9e3820bed67e539d0 from the master branch with additional review and fixups. The intent of these changes is to minimize the effort to backport fixes from the master branch, which has been updated in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4144 Signed-off-by: Scott Murray Change-Id: I3b47f1b7d62038b314a17763d24a64f6d4e15e72 --- recipes-kernel/sllin/sllin.bb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'recipes-kernel/sllin') diff --git a/recipes-kernel/sllin/sllin.bb b/recipes-kernel/sllin/sllin.bb index 0c6793a18..70d1a9311 100644 --- a/recipes-kernel/sllin/sllin.bb +++ b/recipes-kernel/sllin/sllin.bb @@ -12,7 +12,7 @@ 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 \ @@ -23,15 +23,15 @@ SRC_URI_append = " \ 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} = "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} @@ -40,6 +40,6 @@ do_install_append () { install -m 0644 ${WORKDIR}/lin_config.conf ${D}${sysconfdir}/ } -FILES_${PN} += "${bindir}/start_lin_demo.sh ${sysconfdir}/lin_config.conf" +FILES:${PN} += "${bindir}/start_lin_demo.sh ${sysconfdir}/lin_config.conf" -RDEPENDS_${PN} += "lin-config" +RDEPENDS:${PN} += "lin-config" -- cgit 1.2.3-korg