Makefile 733 B

123456789101112131415161718192021222324252627282930313233343536
  1. TARGET := dhrystone_v2.2
  2. NUCLEI_SDK_ROOT = ../../../..
  3. TOOLCHAIN ?= nuclei_gnu
  4. # Adjust CPU_SERIES according to passed CORE
  5. ifneq ($(findstring n100,$(CORE)),)
  6. CPU_SERIES ?= 100
  7. else ifneq ($(findstring 20,$(CORE)),)
  8. CPU_SERIES ?= 200
  9. else ifneq ($(findstring 30,$(CORE)),)
  10. CPU_SERIES ?= 300
  11. else ifneq ($(findstring 60,$(CORE)),)
  12. CPU_SERIES ?= 600
  13. else ifneq ($(findstring 90,$(CORE)),)
  14. CPU_SERIES ?= 900
  15. else ifneq ($(findstring 1000,$(CORE)),)
  16. CPU_SERIES ?= 1000
  17. else
  18. CPU_SERIES ?= 300
  19. endif
  20. -include toolchain_$(TOOLCHAIN).mk
  21. COMMON_FLAGS := $(BENCH_FLAGS) -Wno-implicit-int -Wno-implicit-function-declaration
  22. SRCDIRS = .
  23. C_SRCDIRS = .
  24. INCDIRS = .
  25. STDCLIB ?= newlib_small
  26. include $(NUCLEI_SDK_ROOT)/Build/Makefile.base