cust_bldr.mak 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 = 0
  14. CFG_TRUSTONIC_TEE_SUPPORT = 0
  15. CFG_MICROTRUST_TEE_SUPPORT = 0
  16. CFG_GOOGLE_TRUSTY_SUPPORT = 0
  17. ##### TEE >PLEASE ADD CONFIGS ABOVE THIS LINE< TEE #####
  18. ifeq ($(strip $(MTK_TEE_SUPPORT)),yes)
  19. CFG_TEE_SUPPORT = 1
  20. ifeq ($(strip $(TRUSTONIC_TEE_SUPPORT)),yes)
  21. CFG_TRUSTONIC_TEE_SUPPORT = 1
  22. else
  23. CFG_TRUSTONIC_TEE_SUPPORT = 0
  24. endif
  25. ifeq ($(strip $(MICROTRUST_TEE_SUPPORT)),yes)
  26. CFG_MICROTRUST_TEE_SUPPORT = 1
  27. else
  28. CFG_MICROTRUST_TEE_SUPPORT = 0
  29. endif
  30. ifeq ($(strip $(MTK_GOOGLE_TRUSTY_SUPPORT)),yes)
  31. CFG_GOOGLE_TRUSTY_SUPPORT = 1
  32. else
  33. CFG_GOOGLE_TRUSTY_SUPPORT = 0
  34. endif
  35. else
  36. CFG_TEE_SUPPORT = 0
  37. CFG_TRUSTONIC_TEE_SUPPORT = 0
  38. CFG_MICROTRUST_TEE_SUPPORT = 0
  39. CFG_GOOGLE_TRUSTY_SUPPORT = 0
  40. endif
  41. $(warning CFG_TEE_SUPPORT=$(CFG_TEE_SUPPORT))
  42. $(warning CFG_TRUSTONIC_TEE_SUPPORT=$(CFG_TRUSTONIC_TEE_SUPPORT))
  43. $(warning CFG_MICROTRUST_TEE_SUPPORT=$(CFG_MICROTRUST_TEE_SUPPORT))
  44. $(warning CFG_GOOGLE_TRUSTY_SUPPORT=$(CFG_GOOGLE_TRUSTY_SUPPORT))