________________________________ From: Jon Mason Sent: Tuesday, January 10, 2023 4:37 PM To: Ross Burton Cc: Emekcan Aras ; meta-arm@lists.yoctoproject.org Subject: Re: [PATCH 2/5] arm/optee: support optee 3.19 On Thu, Jan 05, 2023 at 03:30:14PM +0000, Ross Burton wrote: > > +++ b/meta-arm/recipes-security/optee/optee-os-3_19.inc > > @@ -0,0 +1,82 @@ > > +SUMMARY = "OP-TEE Trusted OS" > > +DESCRIPTION = "Open Portable Trusted Execution Environment - Trusted side of the TEE" > > +HOMEPAGE = "https://www.op-tee.org/" > > + > > +LICENSE = "BSD-2-Clause" > > +LIC_FILES_CHKSUM = "[file://LICENSE;md5=c1f21c4f72f372ef38a5a4aee55ec173]file://LICENSE;md5=c1f21c4f72f372ef38a5a4aee55ec173" > > + > > +inherit deploy python3native > > +require optee.inc > > … > > This file is 99% identical to optee-os.inc apart from FILEEXTRAPATHS, so put that assignment in the .bb and include the common optee-os.inc. > > Whilst I’m there… > > > +do_compile:prepend() { > > + PLAT_LIBGCC_PATH=$(${CC} -print-libgcc-file-name) > > +} > > This doesn’t appear to do anything, can you remove it in a separate commit. > > > +# note: "textrel" is not triggered on all archs > > +INSANE_SKIP:${PN} = "textrel" > > +# Build paths are currently embedded > > +INSANE_SKIP:${PN} += "buildpaths" > > Can you experiment and remove these to see if they’re still valid? > > Ross > Looks like I missed this and pulled it in without being commented on. Emekcan, can you address this in a follow-on patch? Thanks, Jon Yeah sure, I had the patch, just need to rebase it Thanks Emek