From patchwork Wed Jun 3 15:48:16 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonios Christidis X-Patchwork-Id: 89262 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42058CD6E60 for ; Wed, 3 Jun 2026 15:49:01 +0000 (UTC) Received: from PH0PR06CU001.outbound.protection.outlook.com (PH0PR06CU001.outbound.protection.outlook.com [40.107.208.68]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.23731.1780501733483689005 for ; Wed, 03 Jun 2026 08:48:54 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@ti.com header.s=selector1 header.b=W/rdUFlw; spf=pass (domain: ti.com, ip: 40.107.208.68, mailfrom: a-christidis@ti.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=fcpe9GoeyiMMfKbXgAZw005Z8GPyjLZ7aVkaDHpGNeRjBMdkpSmmKe25huurzh9t2stc2GneC1Qh+S0cq6/M9AHrQjTAUeAHLY66gjeK807f2Xe8eyCVnA2Tt4D48obZEBgK2KWQTPhH4JB8pYLnewch4R/I4H93gDa3MjIgJDNC46eNS/OPZhGoWL/mJ8Sj88OmxYMS6IwqwqgnrrO6oRA1nIDe62eYfHJImU14UIc9S+NpYr+/zKVZOeKcKWGCU2yBjhEF++O+Hh02lmRiDJsWjLB4cdLdy5mOSjzlcyLwQDegCchNW+7pgoOQN1CKUn5+lXL95DBP3Ini0KowhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=y1J28R7grLi6rGSmSLaluGCVMhtYAnBuFkwkXTnMaNA=; b=JhafRaTyAq0XqwDQxTXnIawtU8Y5RxFiAqJdMzVrzR4kT/upSnr+Jpht7dQO5brZQnnSEDSH0DGAEMex3mtWG1xTEC6tAD2E6TQ2ixpLem5DbwaaKHTyHtQptjg0WVbAh7HuBqa8r2pfC3pBL1paMLNJ2XSyxkhqN6/PKh3XdGyYh/wkPqjg/PfO80wS0PJfufpmWPlOYpE3FJXQEywKZ7iY6ras4Lt+ufXU2Cro6H1wWcWTG8+ZaJdGkM3KXHjSGNg3rhjElNhDkPrvcUNX3ygQ7r4Mp/wFrK2w4hJpKDB0iIwdmb0WFumjSYaCjuP/lV63qwxCiN/F/dph4ax2cg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 198.47.21.195) smtp.rcpttodomain=lists.yoctoproject.org smtp.mailfrom=ti.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=ti.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=y1J28R7grLi6rGSmSLaluGCVMhtYAnBuFkwkXTnMaNA=; b=W/rdUFlwn/Bik11Fmf3FIrdCuicw0F5879UO51sF5DRoEnhRyvxWDGAANZnZlf4bfJIXZjVzL9Zuwv0rk69JwPqrdux844fCPfDhgbkmPxa5oidme0ZvbX+oIaTqxjgqbYnw84Zhwm3qMGgyRCW+9byiJ/g8tUspU3jUHuOb0k8= Received: from BL1P221CA0033.NAMP221.PROD.OUTLOOK.COM (2603:10b6:208:5b5::14) by SJ1PR10MB5906.namprd10.prod.outlook.com (2603:10b6:a03:48b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.71.15; Wed, 3 Jun 2026 15:48:47 +0000 Received: from BL6PEPF0001AB51.namprd04.prod.outlook.com (2603:10b6:208:5b5:cafe::7b) by BL1P221CA0033.outlook.office365.com (2603:10b6:208:5b5::14) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.92.7 via Frontend Transport; Wed, 3 Jun 2026 15:48:47 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 198.47.21.195) smtp.mailfrom=ti.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ti.com; Received-SPF: Pass (protection.outlook.com: domain of ti.com designates 198.47.21.195 as permitted sender) receiver=protection.outlook.com; client-ip=198.47.21.195; helo=flwvzet201.ext.ti.com; pr=C Received: from flwvzet201.ext.ti.com (198.47.21.195) by BL6PEPF0001AB51.mail.protection.outlook.com (10.167.242.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.92.5 via Frontend Transport; Wed, 3 Jun 2026 15:48:46 +0000 Received: from DFLE212.ent.ti.com (10.64.6.70) by flwvzet201.ext.ti.com (10.248.192.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.37; Wed, 3 Jun 2026 10:48:17 -0500 Received: from DFLE209.ent.ti.com (10.64.6.67) by DFLE212.ent.ti.com (10.64.6.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.37; Wed, 3 Jun 2026 10:48:17 -0500 Received: from lelvem-mr06.itg.ti.com (10.180.75.8) by DFLE209.ent.ti.com (10.64.6.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.37 via Frontend Transport; Wed, 3 Jun 2026 10:48:17 -0500 Received: from antonios-ThinkStation-P3-Tower.dhcp.ti.com (antonios-thinkstation-p3-tower.dhcp.ti.com [128.247.81.216]) by lelvem-mr06.itg.ti.com (8.18.1/8.18.1) with ESMTP id 653FmGto1510286; Wed, 3 Jun 2026 10:48:16 -0500 From: To: , CC: Subject: [meta-ti][master/wrynose][PATCH v2] ti-img-rogue-*: Migrate GPU driver version Date: Wed, 3 Jun 2026 10:48:16 -0500 Message-ID: <20260603154816.3066421-1-a-christidis@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB51:EE_|SJ1PR10MB5906:EE_ X-MS-Office365-Filtering-Correlation-Id: 20a56cb8-338d-4d60-78d2-08dec18798de X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|36860700016|376014|18002099003|3023799007|6133799003|56012099006; X-Microsoft-Antispam-Message-Info: pEIF6fubzZoLDh4xYqtDC46167fEjktSZRW49f0hbk44XEgHreVBmP0BGVzeKoLc0gfaeLxb392efi5MzdBq9w5hDt00gZKWBxEmrcMSgrCKbjjMVXJGXdRPjCs1ZmCWaofQYctaumcnT/B7v+4J0W05d/IqEteILRVBiSgVBbtmPZGnsY5jK83KPURQutMgpwSLRhSJcV37FG8LF0jnoMJtHcv5gYy329SikOGCXgIZoEZckoBwqYoWBPuBGI0MaiDIwbBBZ74qL8GL+Veg/DYvbetB4u2EMwin8qnZeSB/QP6o4vd5Y3nCosTUnquMPuI2kK0yE89Fq6xyYg+NhSv04pFcdHXbwWhqXb9OaUiyZHbE48Fy0piW+NU8N7TVLyy6Hb52+L++ukymK//GjLEqPLAlhECTv03Kn/tT4crr/J7UCKhol9nylhtvxdBW4P0SB+74ILea+qEo/SataeB1WHinHvDJdC+J34kpXl0Jd/ozQy87BUYS9ft5uePvS+/jHLYiOdx+FVIubrWZOiFGapkQOf7lsb/lEmgxqD/OtapxVS7PH6XfBPrEccefStfiNl0jddLmuE6Abtj1Utpsvu/L6kDzAB+3oZvxRV2+JRFzpOnENrKln7lVZj3jSyx0tJXFRoVUdXE2U9QmksifJR+AKkEZ0hK75axlQUpC6DsdMaTFuHM0XgF1736w+FMq8BTLDN4MZeQ7RCNikB0h6I27GLlfUe2vrkUAl+4= X-Forefront-Antispam-Report: CIP:198.47.21.195;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:flwvzet201.ext.ti.com;PTR:ErrorRetry;CAT:NONE;SFS:(13230040)(1800799024)(82310400026)(36860700016)(376014)(18002099003)(3023799007)(6133799003)(56012099006);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 0vvBxQzDVwfjGBvYc6DGQJKUMbW1Jv1NWR+UJ7yoG62D+TZl9wKH8gOASFS3IKfCRsFhVVEgafMj40pD70kWwQ48pXmhD//cbMTJHPm2EIAvxnb95s3+2/vKKx5kk0NcMhH3CtSOeOP0hXakFHYcteH/Ve/zSo62WLYLu6tb8UHlNdJlQwoMzIE5tp+MzOzaKMFf6PBlnHQbdQFU1wRjosRjNryhv8K8neaQZlTujl3qkp/XyurUAuxG51zWfYjafwICfNgb8f9qqnv55WYbQW2HOIkUmOQUg4piGrG5bO8D4DoXZWOJtS3eXFc6DKsK21nWwsD/I+z+wRIi16E4nTZe3602Dj5Xg4tKSXStC+JrEB9p/uaoIjrGiaVOGIcEIbAAEvs8xU/hqbEg5l0wJyH022ne2t+/FtVmgE2P9A+i92gzPmEMB7u9NK08yhfN X-OriginatorOrg: ti.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jun 2026 15:48:46.1389 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 20a56cb8-338d-4d60-78d2-08dec18798de X-MS-Exchange-CrossTenant-Id: e5b49634-450b-4709-8abb-1e2b19b982b7 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e5b49634-450b-4709-8abb-1e2b19b982b7;Ip=[198.47.21.195];Helo=[flwvzet201.ext.ti.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB51.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR10MB5906 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 03 Jun 2026 15:49:01 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/19964 From: Antonios Christidis New recipes for GPU DDK 26.1. Update BSP configuration files with new preferred recipe versions. Signed-off-by: Antonios Christidis --- v2: - No need to delete the old 25.3 DDK recipes as that would break compatibility with previous LTS kernels (6.6, 6.12). meta-ti-bsp/conf/machine/include/ti-bsp.inc | 2 +- .../ti-img-rogue-driver_26.1.6967606.bb | 44 +++++ .../ti-img-rogue-umlibs_26.1.6967606.bb | 152 ++++++++++++++++++ 3 files changed, 197 insertions(+), 1 deletion(-) create mode 100644 meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_26.1.6967606.bb create mode 100644 meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_26.1.6967606.bb diff --git a/meta-ti-bsp/conf/machine/include/ti-bsp.inc b/meta-ti-bsp/conf/machine/include/ti-bsp.inc index f7e2710c..a48c4f07 100644 --- a/meta-ti-bsp/conf/machine/include/ti-bsp.inc +++ b/meta-ti-bsp/conf/machine/include/ti-bsp.inc @@ -43,7 +43,7 @@ BSP_BOOTLOADER_PROVIDER:bsp-ti-6_18 = "u-boot-ti-staging" BSP_BOOTLOADER_VERSION:bsp-ti-6_18 = "2026.01%" BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_18 = "ti-img-rogue-driver" -BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_18 = "25%" +BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_18 = "26%" BSP_MESA_PVR_VERSION:bsp-ti-6_18 = "24%" # ========== diff --git a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_26.1.6967606.bb b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_26.1.6967606.bb new file mode 100644 index 00000000..876c3e50 --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_26.1.6967606.bb @@ -0,0 +1,44 @@ +SUMMARY = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs" +HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver" +LICENSE = "MIT | GPL-2.0-only" +LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2" + +inherit module + +PROVIDES = "virtual/gpudriver" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|j742s2|am62xx|am62pxx|j722s" + +DEPENDS = "virtual/kernel" + +BRANCH = "linuxws/wrynose/k6.18/${PV}" + +SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;branch=${BRANCH}" + +SRCREV = "50e14e425cbac240b2da93fac0cfcc987a4959c3" + + +TARGET_PRODUCT:j721e = "j721e_linux" +TARGET_PRODUCT:j721s2 = "j721s2_linux" +TARGET_PRODUCT:j784s4 = "j784s4_linux" +TARGET_PRODUCT:j742s2 = "j784s4_linux" +TARGET_PRODUCT:am62xx = "am62_linux" +TARGET_PRODUCT:am62pxx = "am62p_linux" +TARGET_PRODUCT:j722s = "j722s_linux" +PVR_BUILD = "release" +PVR_WS = "lws-generic" + +EXTRA_OEMAKE += 'KERNELDIR="${KBUILD_OUTPUT}" BUILD=${PVR_BUILD} PVR_BUILD_DIR=${TARGET_PRODUCT} WINDOW_SYSTEM=${PVR_WS}' + +do_compile(){ + unset CC + oe_runmake +} + +do_install() { + make -C ${STAGING_KERNEL_DIR} M=${B}/binary_${TARGET_PRODUCT}_${PVR_WS}_${PVR_BUILD}/target_aarch64/kbuild INSTALL_MOD_PATH=${D}${root_prefix} PREFIX=${STAGING_DIR_HOST} modules_install +} + +RRECOMMENDS:${PN} += "ti-img-rogue-umlibs" diff --git a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_26.1.6967606.bb b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_26.1.6967606.bb new file mode 100644 index 00000000..ff631c2d --- /dev/null +++ b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_26.1.6967606.bb @@ -0,0 +1,152 @@ +SUMMARY = "Userspace libraries for PowerVR Rogue GPU on TI SoCs" +HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs" +LICENSE = "TI-TFL" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|j742s2|am62xx|am62pxx|j722s" + +BRANCH = "linuxws/wrynose/k6.18/${PV}" +SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-umlibs.git;protocol=https;branch=${BRANCH}" +SRCREV = "a59e0e6b92dfee7aad046b839cf6ae644355b89d" + +TARGET_PRODUCT:j721e = "j721e_linux" +TARGET_PRODUCT:j721s2 = "j721s2_linux" +TARGET_PRODUCT:j784s4 = "j784s4_linux" +TARGET_PRODUCT:j742s2 = "j784s4_linux" +TARGET_PRODUCT:am62xx = "am62_linux" +TARGET_PRODUCT:am62pxx = "am62p_linux" +TARGET_PRODUCT:j722s = "j722s_linux" +PVR_BUILD = "release" +PVR_WS = "lws-generic" + +RDEPENDS:${PN} = " \ + libdrm \ + ti-img-rogue-driver \ + ${PN}-firmware \ +" + +PACKAGECONFIG ?= " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan wayland', 'vulkan', '', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'opengl opencl', d)} \ +" + +PACKAGECONFIG[opengl] = ",,,,${GLES_PACKAGES}" +PACKAGECONFIG[vulkan] = ",,,,${VULKAN_PACKAGES}" +PACKAGECONFIG[opencl] = ",,,,${OPENCL_PACKAGES}" + +def get_file_list(package_list_var, d): + file_list = [] + package_list = d.getVar(package_list_var) + prefix = f"{d.getVar('D')}/" + if package_list: + for package in package_list.split(): + package_file_string = d.getVar(f"FILES:{package}") + if package_file_string: + for package_file in package_file_string.split(): + file_list.append(f"{prefix}{package_file}") + return " ".join(file_list) + +EXTRA_OEMAKE += 'BUILD=${PVR_BUILD} TARGET_PRODUCT=${TARGET_PRODUCT} WINDOW_SYSTEM=${PVR_WS}' + +do_configure[noexec] = "1" +do_compile[noexec] = "1" +do_install() { + oe_runmake 'DESTDIR=${D}' install + if ${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'false', 'true', d)}; then + for file in ${@get_file_list('GLES_PACKAGES', d)}; do + rm -rf ${file} + done + fi + if ${@bb.utils.contains('PACKAGECONFIG', 'vulkan', 'false', 'true', d)}; then + for file in ${@get_file_list('VULKAN_PACKAGES', d)}; do + rm -rf ${file} + done + fi + if ${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'false', 'true', d)}; then + for file in ${@get_file_list('OPENCL_PACKAGES', d)}; do + rm -rf ${file} + done + fi + if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)}; then + if [ -e ${D}/lib/firmware ]; then + mv ${D}/lib/firmware ${D}${nonarch_base_libdir} + fi + fi + + # clean up any empty directories + find "${D}" -empty -type d -delete + + # fix permissions + chown -R root:root "${D}" +} + +GLES_PACKAGES = "libgles1-rogue libgles2-rogue libgles3-rogue" +VULKAN_PACKAGES = "libvk-rogue" +OPENCL_PACKAGES = "libopencl-rogue libopencl-rogue-tools" + +PACKAGES = " \ + ${@bb.utils.contains('PACKAGECONFIG', 'opengl', d.getVar('GLES_PACKAGES'), '', d)} \ + ${@bb.utils.contains('PACKAGECONFIG', 'vulkan', d.getVar('VULKAN_PACKAGES'), '', d)} \ + ${@bb.utils.contains('PACKAGECONFIG', 'opencl', d.getVar('OPENCL_PACKAGES'), '', d)} \ + ${PN}-tools \ + ${PN}-firmware \ + ${PN} \ +" + +# Inject variables so that packages don't get Debian-renamed (which would +# remove the -rogue suffix), but don't RPROVIDEs/RCONFLICTs on the generic +# libgl name to prevent colliding with swrast libs +python __anonymous() { + suffix = "" + if "-native" in d.getVar("PN"): + suffix = "-native" + for p in (("vulkan", "libvk",), + ("gles", "libgles1", "libglesv1-cm1"), + ("gles", "libgles2", "libglesv2-2"), + ("gles", "libgles3",), + ("opencl", "libopencl",)): + mlprefix = d.getVar("MLPREFIX") + fullp = mlprefix + p[1] + "-rogue" + suffix + mlprefix = d.getVar("MLPREFIX") + pkgs = " " + " ".join(mlprefix + x + suffix for x in p[1:]) + d.setVar("DEBIAN_NOAUTONAME:" + fullp, "1") + d.setVar("INSANE_SKIP:" + fullp, "dev-so ldflags") + d.appendVar("RRECOMMENDS:" + fullp, " ${MLPREFIX}ti-img-rogue-umlibs" + suffix) +} + +# gles specific shared objects +FILES:libgles1-rogue = "${libdir}/libGLESv1*.so*" +FILES:libgles2-rogue = "${libdir}/libGLESv2*.so*" +RDEPENDS:libgles1-rogue += "mesa-megadriver" +RDEPENDS:libgles2-rogue += "mesa-megadriver" + +# vulkan specific shared objects and configs +FILES:libvk-rogue = "${libdir}/libVK_IMG.so* ${datadir}/vulkan" +RDEPENDS:libvk-rogue += "vulkan-loader wayland libdrm" + +# opencl specific shared objects and configs +FILES:libopencl-rogue = "${libdir}/libPVROCL.so* ${sysconfdir}/OpenCL" +RDEPENDS:libopencl-rogue += "opencl-icd-loader" +RRECOMMENDS:libopencl-rogue += "libopencl-rogue-tools" +FILES:libopencl-rogue-tools += "${bindir}/ocl*" +DEBIAN_NOAUTONAME:libopencl-rogue-tools = "1" +INSANE_SKIP:libopencl-rogue-tools = "ldflags" + +# optional tools and tests +FILES:${PN}-tools = "${bindir}/" +RDEPENDS:${PN}-tools = "python3-core libdrm ${PN}" +INSANE_SKIP:${PN}-tools = "ldflags" + +# required firmware +FILES:${PN}-firmware = "${base_libdir}/firmware/*" +INSANE_SKIP:${PN}-firmware += "arch" + +# common libraries +FILES:${PN} = "${libdir}" + +RRECOMMENDS:${PN} += " \ + ${PN}-tools \ +" + +INSANE_SKIP:${PN} += "already-stripped dev-so ldflags"