Makefile 556 B

12345678910111213141516171819202122232425262728
  1. TARGET = demo_smpcc
  2. NUCLEI_SDK_ROOT = ../../..
  3. SRCDIRS = .
  4. INCDIRS = .
  5. COMMON_FLAGS := -O2
  6. # REQUIRE: SMPCC
  7. XLCFG_SMPCC :=
  8. # OPTIONAL: CCM, HPM-v2
  9. XLCFG_CCM :=
  10. XLCFG_HPM :=
  11. # Set MAX_L2_SIZE_KB to the max L2 cache size in KB
  12. # For example: MAX_L2_SIZE_KB=1024 for 1MB
  13. # The default MAX_L2_SIZE is 1MB
  14. MAX_L2_SIZE_KB ?= 1024
  15. COMMON_FLAGS += -DMAX_L2_SIZE_KB=$(MAX_L2_SIZE_KB)
  16. # DOWNLOAD mode must be a mode
  17. # such as external ddr/sram, core local ilm is not ok which will bypass cache
  18. DOWNLOAD ?= ddr
  19. include $(NUCLEI_SDK_ROOT)/Build/Makefile.base