HOST : ubuntu 22.04.1
SDK : linux-rt-am335x-evm-06.03.00.106
I'm trying to build sdk v6.03 because i need to apply kernel v4.xx.
------------------------------------------------------------------------------
root@ubuntu:/opt/ti-sdk#source linux-devkit/environment-setup
[linux-devkit]:/opt/ti-sdk#make u-boot
===================================
Building U-boot
===================================
.....
from scripts/basic/fixdep.c:108:
/opt/ti-processor-sdk-linux-rt-am335x-evm-06.03.00.106/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/bits/wordsize.h:39:2: error: #error "__WORDSIZE is not defined"
39 | #error "__WORDSIZE is not defined"
.....
make[2]: *** [scripts/Makefile.host:97: scripts/basic/fixdep] Error 1
make[1]: *** [Makefile:415: scripts_basic] Error 2
.....
--------------------------------------------------------------------------------------
I think this error should not occur since __arm__ is predefined, but it occurred.
Is this an error that occurs when running on a 64bit host?
Does anyone have a good solution?