ad23395cd1
As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. (From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
862 B
BlitzBasic
27 lines
862 B
BlitzBasic
inherit cross-canadian
|
|
|
|
require recipes-devtools/gcc/gcc-${PV}.inc
|
|
require gcc-cross-canadian.inc
|
|
require gcc-configure-sdk.inc
|
|
require gcc-package-sdk.inc
|
|
|
|
DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils"
|
|
RDEPENDS_${PN} += "nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils"
|
|
|
|
SYSTEMHEADERS = "/usr/include"
|
|
SYSTEMLIBS = "${target_base_libdir}/"
|
|
SYSTEMLIBS1 = "${target_libdir}/"
|
|
|
|
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
|
|
--disable-libgomp --disable-libmudflap \
|
|
--with-mpfr=${STAGING_DIR_HOST}${layout_exec_prefix} \
|
|
--with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix}"
|
|
|
|
# to find libmpfr
|
|
# export LD_LIBRARY_PATH = "{STAGING_DIR_HOST}${layout_exec_prefix}"
|
|
|
|
PARALLEL_MAKE = ""
|
|
|
|
# gcc 4.7 needs -isystem
|
|
export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}"
|