mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
gcc-cross-canadian: Use ${target_includedir} for compatibility with meta-micro
meta-micro puts headers in /include rather than /usr/include in the
sysroot. ${target_includedir} means that the correct path will be used
automatically.
(From OE-Core rev: 12abcc3791592035d99064262eb3d229fa5ef88c)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Acked-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1de1a34a64
commit
6e43be47d0
@@ -80,7 +80,7 @@ FILES_${PN} = "\
|
||||
${includedir}/c++/${BINV} \
|
||||
${prefix}/${TARGET_SYS}/bin/* \
|
||||
${prefix}/${TARGET_SYS}/lib/* \
|
||||
${prefix}/${TARGET_SYS}/usr/include/* \
|
||||
${prefix}/${TARGET_SYS}${target_includedir}/* \
|
||||
"
|
||||
INSANE_SKIP_${PN} += "dev-so"
|
||||
|
||||
@@ -153,7 +153,7 @@ ELFUTILS = "nativesdk-elfutils"
|
||||
DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc ${ELFUTILS} nativesdk-zlib"
|
||||
RDEPENDS_${PN} += "nativesdk-mpfr nativesdk-libmpc ${ELFUTILS}"
|
||||
|
||||
SYSTEMHEADERS = "/usr/include"
|
||||
SYSTEMHEADERS = "${target_includedir}/"
|
||||
SYSTEMLIBS = "${target_base_libdir}/"
|
||||
SYSTEMLIBS1 = "${target_libdir}/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user