From patchwork Fri May 30 17:21:54 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 63912 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 78B00C5AD49 for ; Fri, 30 May 2025 17:22:09 +0000 (UTC) Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) by mx.groups.io with SMTP id smtpd.web11.971.1748625728567705798 for ; Fri, 30 May 2025 10:22:08 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dVyegQlk; spf=pass (domain: gmail.com, ip: 209.85.222.178, mailfrom: twoerner@gmail.com) Received: by mail-qk1-f178.google.com with SMTP id af79cd13be357-7c597760323so230249985a.3 for ; Fri, 30 May 2025 10:22:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748625726; x=1749230526; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=TNz44d9oFJcagg5i2TBwIVUe59vt4gBKcbYXohVgkU0=; b=dVyegQlkRG6cV9ryhKh5RQWsKIwLKv5/6YKQn7zFLTolcPoz2NSw745iK/q+H80S5Z Mc0e6Dnd8QpKK7yhUQNqQOEOhcbiJ9IYbhuhMMjDy3lhftFdyu2mSzr7ebdJKvx+iuLk ejURpRBM/3z97na8dZ/D05ckspa4b7C4UOK0zF/2pkUSfoOdpaCyq791kMWmc1LjME8T b5l/QT6b2l0+IQ1iNe4rwLz3RthuDYD4p3sjz6FQP1hGGWsK+771YxeeiXwGevUNBGri jMPbL7/eTKVVKlluLRLZ9cTkurksw2U1ykh4aLvFlvzT5o993af2cdRDutcOYXarCm6c 0BGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748625726; x=1749230526; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TNz44d9oFJcagg5i2TBwIVUe59vt4gBKcbYXohVgkU0=; b=ga298aB7D8MyS1UunqzH/50Zfvo+nPOu/WVw4ba2Sadkrk7qhQI6Hv/qhkz8Fi8SWS wVseXEJsHpN51i32eSLai0kPdgHwRRsGhO/r454L5j7vTEifpdB9mHE1FdhyvR1lcHML 8L2SvrxPxJix9ewS4egBu4SIEXxGf8dfeaZRy7gRDMqlJex6HPMb12UTUjhOCAhLDC6g p3VUt5zeYHqLRwI0L9AarEpsOokvuGTerqrEwrXbCqNut/42ZjT2tius2n3S3Xl6QGfc fZyHvGxHGfYG6/fG3kX/tDSa/opIUAmjbChFH9pcYxL4NdBz2ODGDlC4hSujrm+3sIQe SFeQ== X-Gm-Message-State: AOJu0YxQ0z4OMM3xDtlotMCan74R4IhklAC4VcxTuh0GbVfCr7tVKLAn 45STGxDkcUwAG5LRv4H7ti1UCskvdB0yepA84K+/NVSge8+iQwIzJ7Q9eGaoVA== X-Gm-Gg: ASbGncsUTcUIbzw6Bir77CKIvY6Dk26NZVGYdCk7j+QenxEQgF/2EwydmV92qzIN5f0 UdbuUkT7NZSLi9syeCQJzFcIL3UCYbGj7Dp68XrB9uXXKX7S3Lkb1jo0kflsUkJCtqG3nrICNuF 9EZjqoP6qz0Qaf6P53SP+rDv3bS/tW1b9QWRtVZ6iXb195tEeffCBM6Svu20MZD25l7axNzY8gs N0GVyIB43XFWprRzncJNHTJZQkJhdEvreKtMiSn6uJz7j2kphH42JxyH8iX6WvkwERDr7jTXalI 5Faeya/i+hN1kWj4ukxbCKShDJgs566ZeYI9EMy9zT901YzYYTL+cl4tx42VETMROcvNIrYJx4t cLHZ7djsXWv4F9pVXyOk= X-Google-Smtp-Source: AGHT+IGmkxNeCubah3CEspdQd8swDFx6VSB9qJrK2gPRBOWUphfr9ymEQm4pyoMlCmGhtrqDJCwYYw== X-Received: by 2002:a05:620a:3954:b0:7cd:3b13:c5b4 with SMTP id af79cd13be357-7d0a1fb7580mr640950885a.24.1748625726351; Fri, 30 May 2025 10:22:06 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7d09a195d7dsm264984385a.78.2025.05.30.10.22.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 May 2025 10:22:05 -0700 (PDT) From: Trevor Woerner To: yocto-patches@lists.yoctoproject.org Subject: [PATCH 1/3] refactor mesa packageconfig Date: Fri, 30 May 2025 13:21:54 -0400 Message-ID: <20250530172156.7199-1-twoerner@gmail.com> X-Mailer: git-send-email 2.44.0.501.g19981daefd7c MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 30 May 2025 17:22:09 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1600 Add a new variable, RK_MESA_DRIVER, to allow the user to choose which mesa "driver" they want to use for their mesa backend. By default set it to either "panfrost" or "lima" depending on the SoC family being used. Signed-off-by: Trevor Woerner --- README | 5 +++++ conf/machine/include/px30.inc | 1 + conf/machine/include/rk3288.inc | 1 + conf/machine/include/rk3328.inc | 1 + conf/machine/include/rk3399.inc | 1 + conf/machine/include/rk3566.inc | 1 + conf/machine/include/rk3568.inc | 1 + conf/machine/include/rk3588s.inc | 1 + recipes-graphics/mesa/mesa.bbappend | 9 ++------- 9 files changed, 14 insertions(+), 7 deletions(-) diff --git a/README b/README index 9672c6ab8d5b..97d06eaefd63 100644 --- a/README +++ b/README @@ -159,6 +159,11 @@ Notes: compatible (see Rockchip Media Process Platform (MPP) and downstream gstreamer-rockchip plugin for those kernels). + mesa backend + Use the variable RK_MESA_DRIVER to select which mesa backend to use + for mesa. By default it is set to either "panfrost" or "lima" + depending on SoC. + U-Boot Environment: ------------------ In order to configure U-Boot to be able to store its environment into the diff --git a/conf/machine/include/px30.inc b/conf/machine/include/px30.inc index 8173cb19be2c..4918ee45d1ab 100644 --- a/conf/machine/include/px30.inc +++ b/conf/machine/include/px30.inc @@ -21,3 +21,4 @@ UBOOT_SUFFIX ?= "itb" UBOOT_ENTRYPOINT ?= "0x06000000" ENABLE_STATELESS_VPU_GST ?= "1" +RK_MESA_DRIVER ?= "panfrost" diff --git a/conf/machine/include/rk3288.inc b/conf/machine/include/rk3288.inc index 06fda69a3eb7..0fccae7896aa 100644 --- a/conf/machine/include/rk3288.inc +++ b/conf/machine/include/rk3288.inc @@ -16,3 +16,4 @@ KERNEL_IMAGETYPE ?= "zImage" UBOOT_SUFFIX ?= "bin" ENABLE_STATELESS_VPU_GST ?= "1" +RK_MESA_DRIVER ?= "panfrost" diff --git a/conf/machine/include/rk3328.inc b/conf/machine/include/rk3328.inc index e6f810dcd2ca..cdc2e2df2703 100644 --- a/conf/machine/include/rk3328.inc +++ b/conf/machine/include/rk3328.inc @@ -22,3 +22,4 @@ UBOOT_SUFFIX ?= "itb" UBOOT_ENTRYPOINT ?= "0x06000000" ENABLE_STATELESS_VPU_GST ?= "1" +RK_MESA_DRIVER ?= "lima" diff --git a/conf/machine/include/rk3399.inc b/conf/machine/include/rk3399.inc index cd1be49064ed..06326946f1e3 100644 --- a/conf/machine/include/rk3399.inc +++ b/conf/machine/include/rk3399.inc @@ -22,3 +22,4 @@ UBOOT_SUFFIX ?= "itb" UBOOT_ENTRYPOINT ?= "0x06000000" ENABLE_STATELESS_VPU_GST ?= "1" +RK_MESA_DRIVER ?= "panfrost" diff --git a/conf/machine/include/rk3566.inc b/conf/machine/include/rk3566.inc index 6386ec7eb51c..4d84bf8a11a2 100644 --- a/conf/machine/include/rk3566.inc +++ b/conf/machine/include/rk3566.inc @@ -24,3 +24,4 @@ TFA_PLATFORM = "rk3568" TFA_BUILD_TARGET = "bl31" ENABLE_STATELESS_VPU_GST ?= "1" +RK_MESA_DRIVER ?= "panfrost" diff --git a/conf/machine/include/rk3568.inc b/conf/machine/include/rk3568.inc index bcf9dd8b0f44..dedda3b8f47e 100644 --- a/conf/machine/include/rk3568.inc +++ b/conf/machine/include/rk3568.inc @@ -24,3 +24,4 @@ TFA_PLATFORM = "rk3568" TFA_BUILD_TARGET = "bl31" ENABLE_STATELESS_VPU_GST ?= "1" +RK_MESA_DRIVER ?= "panfrost" diff --git a/conf/machine/include/rk3588s.inc b/conf/machine/include/rk3588s.inc index 6ec344abae5b..5a085ab29ebc 100644 --- a/conf/machine/include/rk3588s.inc +++ b/conf/machine/include/rk3588s.inc @@ -23,3 +23,4 @@ TFA_PLATFORM = "rk3588" TFA_BUILD_TARGET = "bl31" ENABLE_STATELESS_VPU_GST ?= "1" +RK_MESA_DRIVER ?= "panfrost" diff --git a/recipes-graphics/mesa/mesa.bbappend b/recipes-graphics/mesa/mesa.bbappend index f22280754a14..9e9bf9afc4a0 100644 --- a/recipes-graphics/mesa/mesa.bbappend +++ b/recipes-graphics/mesa/mesa.bbappend @@ -1,9 +1,4 @@ -PACKAGECONFIG:append:rk3288 = " panfrost" -PACKAGECONFIG:append:rk3328 = " lima" -PACKAGECONFIG:append:rk3399 = " panfrost" -PACKAGECONFIG:append:rk3566 = " panfrost" -PACKAGECONFIG:append:rk3568 = " panfrost" -PACKAGECONFIG:append:rk3588s = " panfrost" -PACKAGECONFIG:append:px30 = " panfrost" +PACKAGECONFIG:append:rockchip = " ${@bb.utils.contains('RK_MESA_DRIVER', 'panfrost', 'panfrost', '', d)}" +PACKAGECONFIG:append:rockchip = " ${@bb.utils.contains('RK_MESA_DRIVER', 'lima', 'lima', '', d)}" RRECOMMENDS:mesa-megadriver:append:rk3588s = " linux-firmware-mali-csffw-arch108" From patchwork Fri May 30 17:21:55 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 63913 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 5AAEAC5B543 for ; Fri, 30 May 2025 17:22:19 +0000 (UTC) Received: from mail-qk1-f179.google.com (mail-qk1-f179.google.com [209.85.222.179]) by mx.groups.io with SMTP id smtpd.web11.972.1748625729192765616 for ; Fri, 30 May 2025 10:22:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VzdcqgDj; spf=pass (domain: gmail.com, ip: 209.85.222.179, mailfrom: twoerner@gmail.com) Received: by mail-qk1-f179.google.com with SMTP id af79cd13be357-7d098f7bd77so236048485a.0 for ; Fri, 30 May 2025 10:22:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748625727; x=1749230527; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Xel3u2V8FBbcYy5FJgwCxaZcV4WRw0YnVRqeOyOT1GE=; b=VzdcqgDj2YhTu3bL3lxXax9AIOcrbsEtPvQWpujIwCJFeBH9sOi0a4MtS2FaOYcU0/ wip5hprrUOeyjTjSZ/vrz2ART/bAt+qKrICINdlWodZVfiBOCth6lijlNFrOla3LgNOM cnnQMmwuY8h5viJOzBJUsptQ+TVX3XcZbGO3cmIvYdGVd/iqjQQdxEp2ehOjN2s7+TfT lgTft2peiR8Ibv1BMQzWC/qq6czB9vXoEduLZKDk+0Tk1pvlxQ7vZsuH03PD0P7yGpWd OF2UwtYITpMcYw2DT2wNzs05wWsyqr0R34ozObSmrKE7hAmdNHn6/blAA6UVw7SIPlJX tldQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748625727; x=1749230527; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Xel3u2V8FBbcYy5FJgwCxaZcV4WRw0YnVRqeOyOT1GE=; b=J0UsgnII0XGT01gVz3DTVDjBZFaFAT1G7b8QwftZ8a+4mF6+ZiHqtR8ssKNP/uFImk s8WVxKjkBa/rIiI/RD5PtKVJCfjE/i2DeXbRhpnynERX3rKnLrILLfbtwTBOYE835a22 rmAb8WiPi02vJzkEcgtWM6+CvobGSTllWmG5qHyDsg6vVVwAT+d/f1FjPVS/qf6RLy1i lnaEv4+KhRUHZUU3uQlYvWyv3wQ4il8edgbp3pivmpa9pnDWw48PZv7WjWgfm06hCO9g RdVIN6HxMDh2AnThdr0CFdalm0EEKC/kohaBoFVxtQfO4NyNK2BZ9Mn0IphGqy84dXfW 2CYA== X-Gm-Message-State: AOJu0Yxl+Jo1rvApS2Ftf2h2f4CVlSb2N0wTe7fc1SZ6few7154AT53J PpH1ZETdR5jkXPsYR9nU9MY0QjN4zD4GP4kSm4Sr1scT+nSoS8EP6IL8QXxHBw== X-Gm-Gg: ASbGncsyrkOl0h7ErqTkuKbQIA52khbU8YzPa0eW7h+JAxGvyej8s4S9YlOZNXH2eEI 8uiUj6Dvt+865XZoxN0e7ESgk1UTDdxRVSaBfBvj5TyuxgEGDF5eqxPNyYg5i0Pp7LSNk5vIcqn A6fPUzPmoRol1eXGsnHt/kJEI2UCZ0+ptfVkccb+k4ia8NQKa23B5TlI/TVTYBfomCimHC84R4c dkqjqXJFTmTG89D3wNMkLEkzqm+HBDfddWccOIrz0f2m7p7YJdiQpTYlSG/CrWpJJ7hzbANnJgJ MvfWPK8cwyrc+XoWDxiuc1kYmt88hW14mh7Q+sqLqY8aZfk45Sim26pQLZNoN88tZvGM9zibjb9 SXIlr96MbWPvlZC3UQUsjElA3HCbZZw== X-Google-Smtp-Source: AGHT+IFIEn/oHs+kikPzDNghjjLEtFUNsDm50M9AzhUyQZSaqHqoB1jHk69/tWjkBSxdf97cVPe/vg== X-Received: by 2002:a05:620a:a518:b0:7d0:a2c1:975b with SMTP id af79cd13be357-7d0a2c19821mr554309985a.14.1748625727368; Fri, 30 May 2025 10:22:07 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7d09a195d7dsm264984385a.78.2025.05.30.10.22.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 May 2025 10:22:06 -0700 (PDT) From: Trevor Woerner To: yocto-patches@lists.yoctoproject.org Subject: [PATCH 2/3] mesa: enable libclc for panfrost Date: Fri, 30 May 2025 13:21:55 -0400 Message-ID: <20250530172156.7199-2-twoerner@gmail.com> X-Mailer: git-send-email 2.44.0.501.g19981daefd7c In-Reply-To: <20250530172156.7199-1-twoerner@gmail.com> References: <20250530172156.7199-1-twoerner@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 30 May 2025 17:22:19 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1601 When building the panfrost mesa driver, also enable libclc in order for the build to succeed. Signed-off-by: Trevor Woerner --- recipes-graphics/mesa/mesa.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-graphics/mesa/mesa.bbappend b/recipes-graphics/mesa/mesa.bbappend index 9e9bf9afc4a0..ae68fbe680a5 100644 --- a/recipes-graphics/mesa/mesa.bbappend +++ b/recipes-graphics/mesa/mesa.bbappend @@ -1,4 +1,4 @@ -PACKAGECONFIG:append:rockchip = " ${@bb.utils.contains('RK_MESA_DRIVER', 'panfrost', 'panfrost', '', d)}" +PACKAGECONFIG:append:rockchip = " ${@bb.utils.contains('RK_MESA_DRIVER', 'panfrost', 'libclc panfrost', '', d)}" PACKAGECONFIG:append:rockchip = " ${@bb.utils.contains('RK_MESA_DRIVER', 'lima', 'lima', '', d)}" RRECOMMENDS:mesa-megadriver:append:rk3588s = " linux-firmware-mali-csffw-arch108" From patchwork Fri May 30 17:21:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 63914 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 59C60C5B543 for ; Fri, 30 May 2025 17:22:29 +0000 (UTC) Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) by mx.groups.io with SMTP id smtpd.web11.980.1748625742677745513 for ; Fri, 30 May 2025 10:22:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aJZQrRe3; spf=pass (domain: gmail.com, ip: 209.85.210.42, mailfrom: twoerner@gmail.com) Received: by mail-ot1-f42.google.com with SMTP id 46e09a7af769-72bc3987a05so1448326a34.1 for ; Fri, 30 May 2025 10:22:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748625741; x=1749230541; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=LJWs/AAnJYSmALxyVWRdYodAQsCgqlV+MwZdTIqtP5A=; b=aJZQrRe3GSVCKqwAnCSSpdFlzpA9mcHU7OnTY/oUi2Y+FlEG4SqBsrN4gdYg+qZVPh sLyxrnxEMoxx0TPvig/sHyXE/XSrUQLJ6hcKD5PI0Mg6olsim15L/L8AV0PvDIRB6RV9 HN+Ut6w2D7nmlFr/ei8Jl6sslOhUV9naLszwCPWNMovSGSfM9ksoSuvQkZaHrXU8mzLo 8e/VCsBsjFYAxIlG0/Vnd8gkEtevz88NGGVChPDxJtgvYDrqhxeR+mcrpILQyCWoyEz1 1a1X62q0eiTL5yrcuNRE1FmcbR1ftyn1mrwV8UhXBxrYpshzBsEukk0TeisM7HM1d2El PkFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748625741; x=1749230541; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LJWs/AAnJYSmALxyVWRdYodAQsCgqlV+MwZdTIqtP5A=; b=D4TXRI181nWAxoeOJ3EysjzRowtpQPDgNiSgMZpFlAri4bZlqyAC5V9nFPBZBjkoaw PqVu3J8UPG5xuXmIPIyk/iah4FTMKg0W7KxBr/EM0IZRPPOeB4j3ftI2LyxVNDKJBhfL e+JvbLjrxvsmJd8MLzKJaTh0OyXtw/s/unZKFA0b2CY5QRhEVzwK/c2MGEA5bNzEGKMK 78il2oTFQ5CXVlgoL2xCinX7iKn0GybPZjdnGEbYQgCKpmQTu1TrBxFzhJs8xog9rQLZ +p50l4QHMw1HwoLWl5kDuPvoPq7mLEQKWBKsHwU2KuH0Go3U5VRxxBF8+klwSOAhxTWD qBCw== X-Gm-Message-State: AOJu0YxjGK3nPeWlD03zMT4FijLLTdtaFrmNocU8CyHfM4/kIGIz9GBs Ch09kwkzMJH3MtRU9yvJCCi6kLK9zGmRUVCDVVIiXnfHNtwMUOZWgBuOWA/O+g== X-Gm-Gg: ASbGnctZukunbu9KsvC9kqEAfu0gzEnoFncJwEu6TYNhTtni8lofsdArlzh2SyNJbAa 0jtRxng4lvAi303ObtTIhQu0TFsVX/yqzk2p5goZPJjcNNIx5nlO9t49AmtpsalqEHYnYaHZvKB UsiO61GWu5kNN9uiKtcKauL8AtO/0F2zHI1LHdXwLqeGhnQa4qCcF/pKheEE1kxjvoJLH3mlCat DHZbFXicluc3h8EUny1UCgCu2EN4lGwlt5iaWITxIKgtYkMvxkwmjIQDC3dJfdSd3Put31zNf8D F7LkPwTOf1IAku1EPQmlJl5d77m3rOkW2f775iCjirtvWC2+dJiSfA6IIdSbNsAQHivv4dkNa5S 52qMCK8kHpYv0PCFsGRNtzAWz3FnGaQ== X-Google-Smtp-Source: AGHT+IFIjkqHW5FVN+42Tuek5VQ7k3rDzXaYkawezQ5zTO9+ZSM9jQgzCW4oU1n45nE0yIB8Gao9vA== X-Received: by 2002:a05:620a:2905:b0:7ce:fc0b:d39d with SMTP id af79cd13be357-7d098762644mr1284714885a.6.1748625729828; Fri, 30 May 2025 10:22:09 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7d09a195d7dsm264984385a.78.2025.05.30.10.22.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 May 2025 10:22:07 -0700 (PDT) From: Trevor Woerner To: yocto-patches@lists.yoctoproject.org Subject: [PATCH 3/3] rauc-conf: adjust PACKAGE_ARCH only when using the demo Date: Fri, 30 May 2025 13:21:56 -0400 Message-ID: <20250530172156.7199-3-twoerner@gmail.com> X-Mailer: git-send-email 2.44.0.501.g19981daefd7c In-Reply-To: <20250530172156.7199-1-twoerner@gmail.com> References: <20250530172156.7199-1-twoerner@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 30 May 2025 17:22:29 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1602 Make setting the PACKAGE_ARCH occur only when the user has enabled the rk-rauc-demo feature. Signed-off-by: Trevor Woerner Reviewed-by: Quentin Schulz --- .../rk-rauc-demo/recipes-core/rauc/rauc-conf.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamic-layers/rk-rauc-demo/recipes-core/rauc/rauc-conf.bbappend b/dynamic-layers/rk-rauc-demo/recipes-core/rauc/rauc-conf.bbappend index e19db234b9b5..323b63b01f40 100644 --- a/dynamic-layers/rk-rauc-demo/recipes-core/rauc/rauc-conf.bbappend +++ b/dynamic-layers/rk-rauc-demo/recipes-core/rauc/rauc-conf.bbappend @@ -1,6 +1,6 @@ inherit rk-rauc-demo-features-check -PACKAGE_ARCH = "${MACHINE_ARCH}" +PACKAGE_ARCH:rk-rauc-demo = "${MACHINE_ARCH}" FILESEXTRAPATHS:prepend:rk-rauc-demo := "${THISDIR}/files:"