diff options
Diffstat (limited to 'meta-oem-production-readiness/meta-agl-basesystem/recipes-kernel')
3 files changed, 0 insertions, 108 deletions
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-kernel/kernel-module-evklib/evklib-headers.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-kernel/kernel-module-evklib/evklib-headers.bb deleted file mode 100644 index 2c185800..00000000 --- a/meta-oem-production-readiness/meta-agl-basesystem/recipes-kernel/kernel-module-evklib/evklib-headers.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "evklib-headers for AGL software" -DESCRIPTION = "install evklib-header files to build AGL software" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" - -PV = "1.0.0+gitr${SRCPV}" -SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/basesystem.git;protocol=https;branch=${AGL_BRANCH}" -SRCREV := "${BASESYSTEM_REVISION}" - -S = "${WORKDIR}/git/agl-basefiles" - -do_configure[noexec] = "1" -do_compile[noexec] = "1" - -do_install() { - install -d ${D}${includedir}/basesystem/agldd - install -m 644 -D ${S}/agldd/* ${D}${includedir}/basesystem/agldd/ -} - -FILES:${PN}-dev += " \ - ${includedir}/basesystem/agldd/* \ -" - -BBCLASSEXTEND = "native" diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-kernel/kernel-module-evklib/kernel-module-evklib/0001-Handle-switch-to-proc_ops.patch b/meta-oem-production-readiness/meta-agl-basesystem/recipes-kernel/kernel-module-evklib/kernel-module-evklib/0001-Handle-switch-to-proc_ops.patch deleted file mode 100644 index 8d25a0da..00000000 --- a/meta-oem-production-readiness/meta-agl-basesystem/recipes-kernel/kernel-module-evklib/kernel-module-evklib/0001-Handle-switch-to-proc_ops.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 8755cc145f867d9c82831c6ba7688e3614e394b1 Mon Sep 17 00:00:00 2001 -From: Scott Murray <scott.murray@konsulko.com> -Date: Wed, 4 May 2022 15:48:10 -0400 -Subject: [PATCH] Handle switch to proc_ops - -The proc API switched to using proc_ops instead of file_operations -in 5.10, add conditional definitions to get the driver compiling -for both pre/post 5.10.0 for now. - -Bug-AGL: SPEC-4343 - -Signed-off-by: Scott Murray <scott.murray@konsulko.com> ---- - module/kernel-module-evklib/evk_lib.c | 23 +++++++++++++++++++++++ - 1 file changed, 23 insertions(+) - -diff --git a/module/kernel-module-evklib/evk_lib.c b/module/kernel-module-evklib/evk_lib.c -index e6dd238..ff8a749 100755 ---- a/module/kernel-module-evklib/evk_lib.c -+++ b/module/kernel-module-evklib/evk_lib.c -@@ -1839,6 +1839,7 @@ evk_procFS_queue_open(struct inode *inode, struct file *file) - return single_open(file, evk_procFS_queue_show, NULL); - } - -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0)) - static struct file_operations evk_proc_flag_fops = { - .owner = THIS_MODULE, - .open = evk_procFS_flag_open, -@@ -1862,6 +1863,28 @@ static struct file_operations evk_proc_queue_fops = { - .llseek = seq_lseek, - .release = single_release, - }; -+#else -+static struct proc_ops evk_proc_flag_fops = { -+ .proc_open = evk_procFS_flag_open, -+ .proc_read = seq_read, -+ .proc_lseek = seq_lseek, -+ .proc_release = single_release, -+}; -+ -+static struct proc_ops evk_proc_flag64_fops = { -+ .proc_open = evk_procFS_flag64_open, -+ .proc_read = seq_read, -+ .proc_lseek = seq_lseek, -+ .proc_release = single_release, -+}; -+ -+static struct proc_ops evk_proc_queue_fops = { -+ .proc_open = evk_procFS_queue_open, -+ .proc_read = seq_read, -+ .proc_lseek = seq_lseek, -+ .proc_release = single_release, -+}; -+#endif - #endif /*ENABLE_PROC_FS*/ - - __init int --- -2.35.1 - diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-kernel/kernel-module-evklib/kernel-module-evklib_1.0.0.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-kernel/kernel-module-evklib/kernel-module-evklib_1.0.0.bb deleted file mode 100644 index 17f4afd3..00000000 --- a/meta-oem-production-readiness/meta-agl-basesystem/recipes-kernel/kernel-module-evklib/kernel-module-evklib_1.0.0.bb +++ /dev/null @@ -1,24 +0,0 @@ -# -# "kernel module for libev" recipe -# -SUMMARY = "libev kernel module for AGL software" -DESCRIPTION = "libev kernel module build AGL software" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://LICENSE.GPL-2.0-only;md5=4ee23c52855c222cba72583d301d2338" - -PV = "1.0.0+gitr${SRCPV}" -SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/basesystem.git;protocol=https;branch=${AGL_BRANCH} " - -SRCREV := "${BASESYSTEM_REVISION}" - -S = "${WORKDIR}/git/module/kernel-module-evklib" - -inherit module - -# The inherit of module.bbclass will automatically name module packages with -# "kernel-module-" prefix as required by the oe-core build environment. -RPROVIDES:${PN} += " \ - kernel-module-evk_lib \ -" - -KERNEL_MODULE_AUTOLOAD += "evk_lib" |