mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 12:12:16 +02:00
This needs further investigation, but for now we can get the tested sources into the poky gcc harness Signed-off-by: Koen Kooi <k-kooi@ti.com>
17 lines
707 B
PHP
17 lines
707 B
PHP
inherit crosssdk
|
|
|
|
SYSTEMHEADERS = "${SDKPATHNATIVE}${prefix_nativesdk}/include"
|
|
SYSTEMLIBS = "${SDKPATHNATIVE}${base_libdir_nativesdk}/"
|
|
SYSTEMLIBS1 = "${SDKPATHNATIVE}${libdir_nativesdk}/"
|
|
|
|
GCCMULTILIB = "--disable-multilib"
|
|
|
|
DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc-nativesdk gettext-native"
|
|
PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"
|
|
|
|
do_configure_prepend () {
|
|
# Change the default dynamic linker path to the one in the SDK
|
|
sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib/#\1${SYSTEMLIBS}#'
|
|
sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib64/#\1${SYSTEMLIBS}#'
|
|
}
|