From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7286543990069919744 X-Received: by 2002:a2e:350e:0:b0:2bc:f1a1:29d9 with SMTP id z14-20020a2e350e000000b002bcf1a129d9mr6426055ljz.2.1696571548340; Thu, 05 Oct 2023 22:52:28 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:bc29:0:b0:2c1:276a:e75 with SMTP id b41-20020a2ebc29000000b002c1276a0e75ls1046346ljf.0.-pod-prod-08-eu; Thu, 05 Oct 2023 22:52:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFIomXFV34hy/2kYyJ4sMMpMdxH8xYbid8DhqkozO39aJXxy4HUyLwLQMX6XtckqYjk2Uxw X-Received: by 2002:a19:7906:0:b0:503:3cc:cd39 with SMTP id u6-20020a197906000000b0050303cccd39mr4653830lfc.8.1696571546052; Thu, 05 Oct 2023 22:52:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696571546; cv=none; d=google.com; s=arc-20160816; b=YEPCvsK6VPfTPZJaTFkw88SCQHvtZ/LRmmI+cBQ9PMzfgTYcfKDtWheTWVPsg9ohbp sjMG08YIBPIVvDSiYYlMqcAWy9p1vFyVMF7E++s8EfHW8amQZyppM/MVjijCi5QSfxJr mu1VeruIMXLp5G9scD837pxMd7ngVbtR6YcLlGqLxLwhqEGc6XhJo/L+CGH/FvtybWfl KsYKnRsM8JrGso9JmrhKQ/2Xy6W8tNDAObzk1FsWIl6H9ZgCq9GGLr3M58GXDsVM0moE 8bUqBRgGuZui9/M6mAej/Lxz7WOXwmBUa1O6LJGPX5YQWTnfUQtc0qL5Sxz83OUqHURh /Wzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=3LIn19jxLJhVFmPw1LcHOnh4cSKVpKgVZtC6LKAf3Z4=; fh=IxbeHM4vWxalf1XNf2rnGcQL+r1v0Lr0C6ICsGNNkYw=; b=05eFFc6Cz2QxkVgRHGNM8vjxsLqn7Zw6vyZmitWfqR9rR/XtihTfDXK52YR/nnyNuU Pczr3+BVVla9DWTvhb+UhWeFCPr0rWQIfsEfk3F+QP9yvFKriXykaq/1j7o5pu1GtTNX TjcRK8+BBGDzsCqqi5ru4/z1WR+QvHw8XFqoVA2lYi41nxAz+DifT/k0UsTiu7J3U65I qZ6nvXrhNtIe+KGJAEjIzNkb0ZxHeiOhhgupNNmobfGxnrIGLVvnfs5f5tWDEMYsn6I4 ijIbS2zLlrVbfBLRe2XSkwFVK6qeuVEcuuWbld8HbQx6qCkeSBEz+XWPQKkIbGk67S7j ALgw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id a14-20020a056512200e00b004fe3e3471c8si33365lfb.10.2023.10.05.22.52.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Oct 2023 22:52:25 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 3965qNpL032254 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 6 Oct 2023 07:52:24 +0200 Message-ID: Subject: Re: [PATCH 4/7] meta-isar: jh7110-u-boot-spl-image: Fix native build From: Uladzimir Bely To: Jan Kiszka , isar-users Date: Fri, 06 Oct 2023 08:52:25 +0300 In-Reply-To: <330c49e7cad7cec72dc0aae00a250e504dd30fbd.1696530723.git.jan.kiszka@siemens.com> References: <330c49e7cad7cec72dc0aae00a250e504dd30fbd.1696530723.git.jan.kiszka@siemens.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: DHQoN9Qd+oS5 On Thu, 2023-10-05 at 20:32 +0200, Jan Kiszka wrote: > From: Jan Kiszka >=20 > In general, recipes must not use HOST_ARCH because it does not > account > for ISAR_CROSS_COMPILE being enabled or disabled. This is encoded > into > BUILD_HOST_ARCH, though. >=20 > Signed-off-by: Jan Kiszka > --- > =C2=A0.../jh7110-u-boot-spl-image/jh7110-u-boot-spl-image_0.1.bb=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 | 2 > +- > =C2=A01 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/meta-isar/recipes-bsp/jh7110-u-boot-spl-image/jh7110-u- > boot-spl-image_0.1.bb b/meta-isar/recipes-bsp/jh7110-u-boot-spl- > image/jh7110-u-boot-spl-image_0.1.bb > index dbce7c28..cd31c9ca 100644 > --- a/meta-isar/recipes-bsp/jh7110-u-boot-spl-image/jh7110-u-boot- > spl-image_0.1.bb > +++ b/meta-isar/recipes-bsp/jh7110-u-boot-spl-image/jh7110-u-boot- > spl-image_0.1.bb > @@ -12,7 +12,7 @@ DEPENDS =3D "jh7110-u-boot-spl-tool-native u-boot- > starfive-visionfive2" > =C2=A0DEBIAN_BUILD_DEPENDS =3D "jh7110-u-boot-spl-tool:native, u-boot- > starfive-visionfive2:${DISTRO_ARCH}" > =C2=A0 > =C2=A0# this is a host tool > -PACKAGE_ARCH =3D "${HOST_ARCH}" > +PACKAGE_ARCH =3D "${BUILD_HOST_ARCH}" > =C2=A0 What do you think about renaming variable BUILD_HOST_ARCH to BUILD_ARCH in Isar? While it's not yet widely used in the recipes, it would better to do it earlier. It is an internal Isar variable and renaming should not affect any downstreams. Renaming should make us a bit closer to OE, where BUILD_ARCH has the same meaning. Additionally, it would fix the issue with sstate-cache and "-native" packages ( https://groups.google.com/g/isar-users/c/2TNQPOb0IXY ). > =C2=A0do_prepare_build[cleandirs] +=3D "${S}/debian" > =C2=A0do_prepare_build(){