mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
monkey: Remove buildpaths from generated mk_env.h
It has paths to compiler and assembler which are technically cross compilers in OE. We do have these names symlinked on target too but paths needs to be removed. Fixes WARNING: monkey-1.6.9-r0 do_package_qa: QA Issue: File /usr/include/monkey/mk_env.h in package monkey-dev contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
12cb5d1337
commit
1b7655c46c
|
|
@ -39,6 +39,10 @@ inherit cmake pkgconfig update-rc.d systemd
|
||||||
|
|
||||||
OECMAKE_GENERATOR = "Unix Makefiles"
|
OECMAKE_GENERATOR = "Unix Makefiles"
|
||||||
|
|
||||||
|
do_configure:append() {
|
||||||
|
sed -i -e 's|${STAGING_BINDIR_TOOLCHAIN}/||g' ${S}/include/monkey/mk_env.h
|
||||||
|
}
|
||||||
|
|
||||||
do_install:append() {
|
do_install:append() {
|
||||||
rmdir ${D}${localstatedir}/log/${BPN} ${D}${localstatedir}/run ${D}${localstatedir}/log
|
rmdir ${D}${localstatedir}/log/${BPN} ${D}${localstatedir}/run ${D}${localstatedir}/log
|
||||||
rmdir --ignore-fail-on-non-empty ${D}${localstatedir}
|
rmdir --ignore-fail-on-non-empty ${D}${localstatedir}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user