* Use the -nostdinc++ to CXX fixing libstdc++ * Generate libgcc in gcc-cross, save the result and use in gcc-runtime * Fix the layout of the crt*.o files so the SDK compiler can find them Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
17 lines
348 B
PHP
17 lines
348 B
PHP
inherit cross
|
|
|
|
DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc ${NATIVEDEPS}"
|
|
PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
|
|
|
|
do_stage () {
|
|
use_do_install_for_stage
|
|
}
|
|
|
|
require gcc-configure-cross.inc
|
|
require gcc-package-cross.inc
|
|
|
|
do_compile () {
|
|
oe_runmake all-host all-target-libgcc
|
|
}
|
|
|