Makefile.mk 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. MULTI_DEPEND_TARGET += sdk_prebuilds
  2. MULTI_TARGET_CLEAN += sdk_prebuilds_clean
  3. MULTI_DEPEND_TARGETD += sdk_prebuildsd
  4. MULTI_TARGET_CLEAND += sdk_prebuildsd_clean
  5. sdk_prebuilds:$(CONFIG_SDK_PREBUILD_LIB)
  6. sdk_prebuilds_clean:$(addsuffix _clean,$(CONFIG_SDK_PREBUILD_LIB))
  7. sdk_prebuildsd:$(addsuffix _d,$(CONFIG_SDK_PREBUILD_LIB))
  8. sdk_prebuildsd_clean:$(addsuffix _d_clean,$(CONFIG_SDK_PREBUILD_LIB))
  9. ZERO_DIR := $(SDK_DRIVER_DIR)/Arch/$(CONFIG_CHIP)/zero
  10. libzero.a:
  11. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(ZERO_DIR)/Makefile.mk
  12. libzero.a_d:
  13. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(ZERO_DIR)/Makefile.mk
  14. libzero.a_clean:
  15. @$(MAKE) clean -f $(EFUSE_DIR)/Makefile.mk
  16. libzero.a_d_clean:
  17. @$(MAKE) clean -f $(EFUSE_DIR)/Makefile.mk
  18. DDRDIR := $(SDK_DIR)/Boot/Chip/$(CONFIG_CHIP)/DDR
  19. libddr.a:
  20. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(DDRDIR)/Makefile.mk
  21. libddr.a_d:
  22. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(DDRDIR)/Makefile.mk
  23. libddr.a_clean:
  24. @$(MAKE) clean -f $(DDRDIR)/Makefile.mk
  25. libddr.a_d_clean:
  26. @$(MAKE) clean -f $(DDRDIR)/Makefile.mk
  27. PQDIR := $(SDK_DRIVER_DIR)/DPU/PQ
  28. libpq.a:
  29. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(PQDIR)/Makefile.mk
  30. libpq.a_d:
  31. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(PQDIR)/Makefile.mk
  32. libpq.a_clean:
  33. @$(MAKE) clean -f $(PQDIR)/Makefile.mk
  34. libpq.a_d_clean:
  35. @$(MAKE) clean -f $(PQDIR)/Makefile.mk
  36. BCONDIR := $(SDK_DRIVER_DIR)/BCON/
  37. libbcon.a:
  38. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(BCONDIR)/Makefile.mk
  39. libbcon.a_d:
  40. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(BCONDIR)/Makefile.mk
  41. libbcon.a_clean:
  42. @$(MAKE) clean -f $(BCONDIR)/Makefile.mk
  43. libbcon.a_d_clean:
  44. @$(MAKE) clean -f $(BCONDIR)/Makefile.mk
  45. DISPCTRLDIR := $(SDK_DRIVER_DIR)/DisplayCtrl
  46. libDispCtrl.a:
  47. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(DISPCTRLDIR)/Makefile.mk
  48. libDispCtrl.a_d:
  49. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(DISPCTRLDIR)/Makefile.mk
  50. libDispCtrl.a_clean:
  51. @$(MAKE) clean -f $(DISPCTRLDIR)/Makefile.mk
  52. libDispCtrl.a_d_clean:
  53. @$(MAKE) clean -f $(DISPCTRLDIR)/Makefile.mk
  54. AESDECRYDIR := $(SDK_MIDDLEWARE_DIR)/InputPortManager/HDCP/aesdeckey/
  55. libAesKey.a:
  56. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(AESDECRYDIR)/Makefile.mk
  57. libAesKey.a_d:
  58. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(AESDECRYDIR)/Makefile.mk
  59. libAesKey.a_clean:
  60. @$(MAKE) clean -f $(AESDECRYDIR)/Makefile.mk
  61. libAesKey.a_d_clean:
  62. @$(MAKE) clean -f $(AESDECRYDIR)/Makefile.mk
  63. HDMICALDIR := $(SDK_DRIVER_DIR)/HDMI/cal/$(CONFIG_CHIP)/
  64. libHdmiCal.a:
  65. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(HDMICALDIR)/Makefile.mk
  66. libHdmiCal.a_d:
  67. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(HDMICALDIR)/Makefile.mk
  68. libHdmiCal.a_clean:
  69. @$(MAKE) clean -f $(HDMICALDIR)/Makefile.mk
  70. libHdmiCal.a_d_clean:
  71. @$(MAKE) clean -f $(HDMICALDIR)/Makefile.mk
  72. DPRXCALDIR := $(SDK_DRIVER_DIR)/DisplayPort/cal/ht7315
  73. libDpRxCal.a:
  74. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(DPRXCALDIR)/Makefile.mk
  75. libDpRxCal.a_d:
  76. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(DPRXCALDIR)/Makefile.mk
  77. libDpRxCal.a_clean:
  78. @$(MAKE) clean -f $(DPRXCALDIR)/Makefile.mk
  79. libDpRxCal.a_d_clean:
  80. @$(MAKE) clean -f $(DPRXCALDIR)/Makefile.mk
  81. HDCPCALDIR := $(SDK_DRIVER_DIR)/HDCP/cal/$(CONFIG_CHIP)/
  82. libHdcpCal.a:
  83. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(HDCPCALDIR)/Makefile.mk
  84. libHdcpCal.a_d:
  85. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(HDCPCALDIR)/Makefile.mk
  86. libHdcpCal.a_clean:
  87. @$(MAKE) clean -f $(HDCPCALDIR)/Makefile.mk
  88. libHdcpCal.a_d_clean:
  89. @$(MAKE) clean -f $(HDCPCALDIR)/Makefile.mk
  90. HDCPENGINEDIR := $(SDK_DRIVER_DIR)/HDCP/Engine/$(CONFIG_CHIP)/
  91. libHdcpEngine.a:
  92. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(HDCPENGINEDIR)/Makefile.mk
  93. libHdcpEngine.a_d:
  94. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(HDCPENGINEDIR)/Makefile.mk
  95. libHdcpEngine.a_clean:
  96. @$(MAKE) clean -f $(HDCPCALDIR)/Makefile.mk
  97. libHdcpEngine.a_d_clean:
  98. @$(MAKE) clean -f $(HDCPCALDIR)/Makefile.mk
  99. DPUDCWDIR := $(SDK_DRIVER_DIR)/DPU/DCW/cal/$(CONFIG_CHIP)/
  100. libDpuDcw.a:
  101. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(DPUDCWDIR)/Makefile.mk
  102. libDpuDcw.a_d:
  103. @$(MAKE) release COMPILE_MODE=release -C "$(BUILD_OUT_OBJ_DIR)" -f $(DPUDCWDIR)/Makefile.mk
  104. libDpuDcw.a_clean:
  105. @$(MAKE) clean -f $(DPUDCWDIR)/Makefile.mk
  106. libDpuDcw.a_d_clean:
  107. @$(MAKE) clean -f $(DPUDCWDIR)/Makefile.mk