cust_bldr.mak 1.3 KB

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