diff options
author | Meng Li <Meng.Li@windriver.com> | 2023-06-08 11:10:30 +0800 |
---|---|---|
committer | Meng Li <meng.li@windriver.com> | 2023-06-09 08:42:00 +0800 |
commit | abe225134dd26bca2e07778693599011844f59dd (patch) | |
tree | a8b73c92c8fd334dfe4eb4a8f11900879e911c61 /recipes-dpaa | |
parent | 8995442f5432852a0313d83eb5fbc0fbd9e1c595 (diff) | |
download | meta-freescale-abe225134dd26bca2e07778693599011844f59dd.tar.gz |
meta-freescale: fmlib: map kernel source path to target path
When building package fmlib based on Yocto version mickledore, there is below
warning reported:
WARNING: fmlib-git-r1 do_package_qa: QA Issue: File /usr/lib64/libfm-arm.a in
package fmlib-staticdev contains reference to TMPDIR [buildpaths]
Because the KERNEL_SRC is passed into Makefile, and not mapped to a target path
like the source of this package. To void this warning, it also needs to add the
path map in CFLAGS for kernel source.
Signed-off-by: Meng Li <Meng.Li@windriver.com>
Diffstat (limited to 'recipes-dpaa')
-rw-r--r-- | recipes-dpaa/fmlib/fmlib_git.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-dpaa/fmlib/fmlib_git.bb b/recipes-dpaa/fmlib/fmlib_git.bb index 98f5c0d7..b24dd799 100644 --- a/recipes-dpaa/fmlib/fmlib_git.bb +++ b/recipes-dpaa/fmlib/fmlib_git.bb | |||
@@ -10,6 +10,9 @@ SRCREV = "69a70474cd8411d5a099c34f40760b6567d781d6" | |||
10 | 10 | ||
11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
12 | 12 | ||
13 | CFLAGS += "-fmacro-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1 \ | ||
14 | -fdebug-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1" | ||
15 | |||
13 | EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \ | 16 | EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \ |
14 | CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}" | 17 | CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}" |
15 | 18 | ||