common: enable C++ TAs by default on x86_64 hosts only

On non-x86_64 hosts, "make toolchains" builds GCC with Buildroot and
that is version 12.x currently. Unfortunatly, C++ support in TAs
requires GCC <= 11 or the following error occurs:

   LD      out/5b9e0e40-2636-11e1-ad9e-0002a5d5c51b.elf
 .../toolchains/aarch64/bin/aarch64-linux-ld.bfd: .../toolchains/aarch64/bin/../lib/gcc/aarch64-buildroot-linux-gnu/12.3.0/libgcc_eh.a(unwind-dw2-fde-dip.o): in function `_Unwind_Find_FDE':
 .../out-aarch64-sdk/build/host-gcc-final-12.3.0/build/aarch64-buildroot-linux-gnu/libgcc/../../../libgcc/unwind-dw2-fde-dip.c:512: undefined reference to `_dl_find_object'
 make[3]: *** [.../optee_os/out/arm/export-ta_arm64/mk/link.mk:123: out/5b9e0e40-2636-11e1-ad9e-0002a5d5c51b.elf] Error 1
 make[2]: *** [package/pkg-generic.mk:284: .../out-br/build/optee_test_ext-1.0/.stamp_built] Error 2
 make[1]: *** [Makefile:23: _all] Error 2

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
1 file changed
tree: 52d11f6ab7415621da7a7d067f59d4f88cc6d21c
  1. .github/
  2. br-ext/
  3. fvp/
  4. imx/
  5. kconfigs/
  6. qemu_v8/
  7. rpi3/
  8. ti/
  9. versal/
  10. zynqmp/
  11. .gitignore
  12. am43xx.mk
  13. am57xx.mk
  14. common.mk
  15. dra7xx.mk
  16. fvp-psa-sp.mk
  17. fvp.mk
  18. get_clang.sh
  19. hikey.mk
  20. hikey960.mk
  21. imx.mk
  22. imx8mp-evk.inc.mk
  23. imx8mp-verdin.inc.mk
  24. juno.mk
  25. poplar.mk
  26. qemu-check.exp
  27. qemu.mk
  28. qemu_v8.mk
  29. README.md
  30. rockpi4.mk
  31. rpi3.mk
  32. rust.exp
  33. soc_term.py
  34. stm32mp1.mk
  35. synquacer.mk
  36. toolchain.mk
  37. trusted-keys.exp
  38. trusted-services.mk
  39. versal.mk
  40. zynqmp.mk
README.md

OP-TEE build.git

This git contains makefiles etc to be able to build a full OP-TEE developer setup for the OP-TEE project.

All official OP-TEE documentation has moved to http://optee.readthedocs.io. The pages that used to be here in this git can be found under build and Device specific information at he new location for the OP-TEE documentation.

// OP-TEE core maintainers