diff options
| author | Anuj Mittal <anuj.mittal@intel.com> | 2022-08-04 14:13:23 +0800 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2022-08-07 15:02:38 -0700 |
| commit | 9165fb0d1fde9a99e6ce3ec37e8c2ca43757756e (patch) | |
| tree | fb1d71cfa961123bbe03b7f227d5fa6e3ed43209 | |
| parent | 73a17ff992d2f33dd95cd2fcd10453712874e362 (diff) | |
| download | meta-openembedded-9165fb0d1fde9a99e6ce3ec37e8c2ca43757756e.tar.gz | |
yasm: fix buildpaths warning
ax_create_stdint_h.m4 includes $CC as a comment in the generated header
which leads to buildpaths warning:
| WARNING: yasm-1.3.0+gitAUTOINC+ba463d3c26-r0 do_package_qa: QA Issue: File /usr/include/libyasm-stdint.h in package yasm-dev contains reference to TMPDIR [buildpaths]
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit a7346d2bb1a60289225cce78d760e4d264d1b2a2)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
| -rw-r--r-- | meta-oe/recipes-devtools/yasm/yasm_git.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/yasm/yasm_git.bb b/meta-oe/recipes-devtools/yasm/yasm_git.bb index b5cd35ab3a..044fcbea74 100644 --- a/meta-oe/recipes-devtools/yasm/yasm_git.bb +++ b/meta-oe/recipes-devtools/yasm/yasm_git.bb | |||
| @@ -22,3 +22,8 @@ CACHED_CONFIGUREVARS = "CCLD_FOR_BUILD='${CC_FOR_BUILD}'" | |||
| 22 | BBCLASSEXTEND = "native" | 22 | BBCLASSEXTEND = "native" |
| 23 | 23 | ||
| 24 | PARALLEL_MAKE = "" | 24 | PARALLEL_MAKE = "" |
| 25 | |||
| 26 | do_configure:prepend() { | ||
| 27 | # Don't include $CC (which includes path to sysroot) in generated header. | ||
| 28 | sed -i -e "s/^echo \"\/\* generated \$ac_cv_stdint_message \*\/\" >>\$ac_stdint$"// ${S}/m4/ax_create_stdint_h.m4 | ||
| 29 | } | ||
