mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-05 10:21:52 +00:00
am33x-cm3: Add TOOLCHAIN_OPTIONS to redefined CC
This error will show up when using sstate which was generated using a different buiid time sysroot. Since we override CC we still need to honor --sysroot which is specified via TOOLCHAIN_OPTIONS Fixes | DEBUG: Executing shell function do_compile | CC src/sys_exec/sys_init.o | In file included from src/sys_exec/rsc_table.h:13:0, | from src/sys_exec/sys_init.c:19: | /home/ubuntu/work/angstrom/build/tmp-angstrom_next-glibc/sysroots/x86_64-linux/usr/lib/arm-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.9.2/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory | # include_next <stdint.h> | ^ | compilation terminated. | make: *** [src/sys_exec/sys_init.o] Error 1 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
committed by
Denys Dmytriyenko
parent
9c2ae7b791
commit
3735bc4108
@@ -17,7 +17,7 @@ S = "${WORKDIR}/git"
|
||||
FLOATABI = "${@base_contains("TUNE_FEATURES", "vfp", base_contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}"
|
||||
|
||||
do_compile() {
|
||||
make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${FLOATABI}"
|
||||
make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
||||
Reference in New Issue
Block a user