common.mk: set CFG_ARM64_core=n when COMPILE_S_KERNEL != 64

common.mk currently assumes that optee_os defaults to a 32-bit build
for the TEE core, in other words that CFG_ARM64_core is not set by
default and that only a 64-bit build requires setting CFG_ARM64_core=y.

Let's set CFG_ARM64_core=n explicitly when a 32-bit build is desired.
This will let platforms such as QEMUv8 (PLATFORM=vexpress-qemu_armv8a)
to select a 64-bit core by default in optee_os which makes more sense
since (1) build.git would not support 32-bit until parent commit
("qemu_v8: do not force COMPILE_S_KERNEL := 64"), and (2) 32-bit is
usually tested with QEMU (PLATFORM=vexpress-qemu_virt).

Signed-off-by: Jerome Forissier <jerome@forissier.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
1 file changed
tree: f4ba8936aa3023b6fce77113ada0756db01033d4
  1. .github/
  2. br-ext/
  3. fvp/
  4. kconfigs/
  5. rpi3/
  6. ti/
  7. zynqmp/
  8. .gitignore
  9. .travis.yml
  10. am43xx.mk
  11. am57xx.mk
  12. common.mk
  13. dra7xx.mk
  14. fvp.mk
  15. get_clang.sh
  16. hikey.mk
  17. hikey960.mk
  18. juno.mk
  19. poplar.mk
  20. qemu-check.exp
  21. qemu.mk
  22. qemu_v8.mk
  23. README.md
  24. rpi3.mk
  25. stm32mp1.mk
  26. synquacer.mk
  27. toolchain.mk
  28. verdin.mk
  29. 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