Subject: Re: [PATCH v2] arm-toolchain: merge binary toolchain recipes To: meta-arm@lists.yoctoproject.org From: "Diego Sueiro" X-Originating-Location: GB (217.140.96.140) X-Originating-Platform: Windows Chrome 81 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 02 Jun 2020 03:16:27 -0700 References: <8876.1591081059371861619@lists.yoctoproject.org> In-Reply-To: <8876.1591081059371861619@lists.yoctoproject.org> Message-ID: <9778.1591092987869245648@lists.yoctoproject.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tue, Jun 2, 2020 at 07:57 AM, Diego Sueiro wrote: > >=20 > > diff --git > > a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-x86ho= st.inc > > b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-x86ho= st.inc > > new file mode 100644 > > index 0000000..332ffab > > --- /dev/null > > +++ > > b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-x86ho= st.inc > > @@ -0,0 +1,26 @@ > > +S =3D "${WORKDIR}/${BPN}-${PV}" >=20 > As @Ross mentioned, this is already the default value for the S variable= . It seems that the documentation[1] needs to be updated since the S now def= aults to "${WORKDIR}/${BP}" [2] : [1] - https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.ht= ml#var-S [2] - http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/conf/bitbak= e.conf#n372 >=20 > > + > > +COMPATIBLE_HOST =3D "x86_64.*-linux" > > + > > +FILES_${PN} =3D "${datadir} ${bindir}" > > + > > +BINNAME =3D "${@d.getVar("BPN").strip("gcc-")}" > > + > > +do_install() { > > + install -d ${D}${datadir}/${BINNAME}/ > > + cp -r ${S}/. ${D}${datadir}/ > > + > > + install -d ${D}${bindir} > > + # Symlink all executables into bindir > > + for f in ${D}${datadir}/${BINNAME}/bin/${BINNAME}-*; do > > + lnr $f ${D}${bindir}/$(basename $f) > > + done > > +} > > + > > +INSANE_SKIP_${PN} =3D "already-stripped libdir staticdev file-rdeps" > > + > > +INHIBIT_SYSROOT_STRIP =3D "1" > > +INHIBIT_PACKAGE_STRIP =3D "1" > > +INHIBIT_PACKAGE_DEBUG_SPLIT =3D "1" > > + > > +BBCLASSEXTEND =3D "native nativesdk" > > --=20 > > 2.20.1 > >=20 > > >