From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7286543990069919744 X-Received: by 2002:a19:7119:0:b0:503:2e6:6862 with SMTP id m25-20020a197119000000b0050302e66862mr5432474lfc.32.1696572394787; Thu, 05 Oct 2023 23:06:34 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:559:b0:503:7ac:19f3 with SMTP id h25-20020a056512055900b0050307ac19f3ls927692lfl.0.-pod-prod-07-eu; Thu, 05 Oct 2023 23:06:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFkuYimVu2JOdL7HkPBrY50+LDgKAqOZsObw0AgOFt06BaMdjBgGKnROW0BmhbFyF1bqaP2 X-Received: by 2002:ac2:550f:0:b0:500:a5af:86a4 with SMTP id j15-20020ac2550f000000b00500a5af86a4mr5961559lfk.43.1696572392259; Thu, 05 Oct 2023 23:06:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696572392; cv=none; d=google.com; s=arc-20160816; b=edxH7Ljn21Ku4H+j+Fotjq8QQD/G3a6yYjEAPiHKtOKXsy0L99hAeWPu0owIh+0w5z MYLSxxqA1zgDln3sh6Bl7w2Rl6cP7vDvDZDmkumDyfhoN+sMjhAX2ffBOJYhpot9fiBo QiG0AswjQiL7+2tCi1YEx87a8igsdsFygHdMhaGgLFErVjvG67tQ9JthoAinTfZfffKX YCbaKqLeqrHszRmi0A29rxNeGUVGXrdAeys25dR//EmEP6CFgog7CmeFL2xX3rs19SgK PsfEV8lRB2SJxE8HwXlRXbAMeMSorKUEgandM76R6uiTQN6wmRMyyDi4+4rAktEj1h7A vm4w== 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=4MrWLbsuXUVd+fWDg54a4quX/Z3mmdBDlIBFgn5cWsE=; fh=IxbeHM4vWxalf1XNf2rnGcQL+r1v0Lr0C6ICsGNNkYw=; b=A1IX3IbDMqYj9LJdO7Ll1vu1FWXdvjZohEPjwwL8OBzg8IVwoJwRnuklzKn9TToDrs PnYLS08XBOUtob8cZVAGqm2KeaMdbhoU40XIihqprN68PxcJrTZXXbQwWV5hw1mOt0Lk fOS+NTsl+nF9gElCaxvuJmFNqkH0CxUX00Jl6zQeKhOUqKmxyT0wvO2LClunYSlbyser BqV5jmXl7qeQGothxKltmrrhB+C7GlLXjEcNcliEdj3jkgLztw43z+1hbt0v4YA6vRF6 lMHrgumVYqk8Wb0Tk5lsXR8Sp6Y5upW1J2v5lggYxnpfgijsTwjZ9sga/ey+GYvtEe/J BKBA== 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 p7-20020a05600c1d8700b003fe2591111dsi361267wms.1.2023.10.05.23.06.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Oct 2023 23:06:32 -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 39666Utm032570 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 6 Oct 2023 08:06:31 +0200 Message-ID: <14b53cb0ba99955b7045e0137f259af41e3aa9aa.camel@ilbers.de> 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 09:06:32 +0300 In-Reply-To: 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: v+am+GjGG6sO On Fri, 2023-10-06 at 08:00 +0200, Jan Kiszka wrote: > On 06.10.23 07:52, Uladzimir Bely wrote: > > 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 > >=20 > > 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. > >=20 > > It is an internal Isar variable and renaming should not affect any > > downstreams. Renaming=C2=A0 should make us a bit closer to OE, where > > BUILD_ARCH has the same meaning. > >=20 >=20 > I was also thinking about this, yes. Should I include such a patch in > my > series? >=20 Yes, please. Actually, I've just applied patch1 from the series to 'next', so the new patch could be first in series v2, so other patches would keep their numbers.=20 > Jan >=20 > > Additionally, it would fix the issue with sstate-cache and "- > > native" > > packages ( https://groups.google.com/g/isar-users/c/2TNQPOb0IXY=C2=A0). > >=20 > > > =C2=A0do_prepare_build[cleandirs] +=3D "${S}/debian" > > > =C2=A0do_prepare_build(){ > >=20 >=20