cust_bldr.mak 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ###################################################################
  2. # Include Project Feautre (cust_bldr.h)
  3. ###################################################################
  4. #ifeq ("$(MTK_EMMC_SUPPORT)","yes")
  5. ifdef MTK_EMMC_SUPPORT
  6. CFG_BOOT_DEV :=BOOTDEV_SDMMC
  7. else
  8. CFG_BOOT_DEV :=BOOTDEV_NAND
  9. endif
  10. CFG_UART_LOG :=UART1
  11. CFG_UART_META :=UART1
  12. CFG_CPU_FAST_FREQ :=0
  13. CFG_TEE_SUPPORT = 1
  14. CFG_TRUSTONIC_TEE_SUPPORT = 0
  15. CFG_MICROTRUST_TEE_SUPPORT = 1
  16. ##### TEE >PLEASE ADD CONFIGS ABOVE THIS LINE< TEE #####
  17. ifeq ($(strip $(MTK_TEE_SUPPORT)),yes)
  18. CFG_TEE_SUPPORT = 1
  19. ifeq ($(strip $(TRUSTONIC_TEE_SUPPORT)),yes)
  20. CFG_TRUSTONIC_TEE_SUPPORT = 1
  21. else
  22. CFG_TRUSTONIC_TEE_SUPPORT = 0
  23. endif
  24. ifeq ($(strip $(MICROTRUST_TEE_SUPPORT)),yes)
  25. CFG_MICROTRUST_TEE_SUPPORT = 1
  26. else
  27. CFG_MICROTRUST_TEE_SUPPORT = 0
  28. endif
  29. ifeq ($(strip $(MTK_GOOGLE_TRUSTY_SUPPORT)),yes)
  30. CFG_GOOGLE_TRUSTY_SUPPORT = 1
  31. else
  32. CFG_GOOGLE_TRUSTY_SUPPORT = 0
  33. endif
  34. else
  35. CFG_TEE_SUPPORT = 0
  36. CFG_TRUSTONIC_TEE_SUPPORT = 0
  37. CFG_MICROTRUST_TEE_SUPPORT = 0
  38. CFG_GOOGLE_TRUSTY_SUPPORT = 0
  39. endif
  40. $(warning CFG_TEE_SUPPORT=$(CFG_TEE_SUPPORT))
  41. $(warning CFG_TRUSTONIC_TEE_SUPPORT=$(CFG_TRUSTONIC_TEE_SUPPORT))
  42. $(warning CFG_MICROTRUST_TEE_SUPPORT=$(CFG_MICROTRUST_TEE_SUPPORT))
  43. $(warning CFG_GOOGLE_TRUSTY_SUPPORT=$(CFG_GOOGLE_TRUSTY_SUPPORT))