Commit 82479c1
committed
fix(optee): Document CFLAGS for SDK toolchain
While building OP-TEE with the SDK's Yocto-generated toolchain, the
build fails with 'cannot find libgcc.a' linker error. This occurs
because the toolchain requires explicit sysroot configuration.
OP-TEE's mk/gcc.mk uses CFLAGS64 and CFLAGS32 while querying gcc for
library locations ensuring the compiler returns full paths. Add
documentation instructing users to export CFLAGS64 and CFLAGS32 with
--sysroot flags before building OP-TEE.
Signed-off-by: Shiva Tripathi <[email protected]>1 parent df4f4fb commit 82479c1
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
41 | 52 | | |
42 | 53 | | |
43 | 54 | | |
| |||
0 commit comments