Re: [meta-ti] [master][PATCH v2 3/3] ti-jailhouse: Fix buildpaths QA warning

Denys Dmytriyenko <[email protected]>
Newsgroups org.yoctoproject.lists.meta-ti
Message-ID <[email protected]>
On Mon, Mar 09, 2026 at 12:08:36PM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
> 
> 
> On 3/9/2026 12:01 PM, Mahammed Sadik Shaik wrote:
> >Add -ffile-prefix-map flags to KCFLAGS to remove build path
> >references from kernel module compilation, ensuring reproducible
> >builds and preventing absolute path leakage in binaries.
> >
> >This resolves buildpaths QA warnings during packaging.
> >
> >Signed-off-by: Mahammed Sadik Shaik <[email protected]>
> >---
> >  meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> >diff --git a/meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc b/meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc
> >index 91076c9e..8308f0e5 100644
> >--- a/meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc
> >+++ b/meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc
> >@@ -80,8 +80,8 @@ USER_SPACE_CFLAGS = '${CFLAGS} -DLIBEXECDIR=\\\"${libexecdir}\\\" \
> >  TOOLS_SRC_DIR = "${S}/tools"
> >-EXTRA_OEMAKE = "ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" KDIR=${STAGING_KERNEL_BUILDDIR}"
> >-
> >+EXTRA_OEMAKE = "ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" KDIR=${STAGING_KERNEL_BUILDDIR} \
> >+    KCFLAGS='-ffile-prefix-map=${STAGING_KERNEL_BUILDDIR}/= -ffile-prefix-map=${STAGING_KERNEL_DIR}/='"
> >  do_compile() {
> >          oe_runmake V=1
> >  }

Can you move V=1 into EXTRA_OEMAKE and remove overriding do_compile()


> Thank you.  I was going to comment on the v1 to not disable buildpaths.

+1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.