quasar/testbench/tests/Coremark/Makefile

24 lines
906 B
Makefile
Raw Permalink Normal View History

2021-03-29 13:09:22 +08:00
export TEST = cmark
#export CONF_PARAMS= -set=btb_size=512 -set=bht_size=2048 -set=iccm_size=128
export CONF_PARAMS= -set=btb_size=512 -set=bht_size=2048 -set=iccm_enable=0
export OFILES = crt0.o cmark.o printf.o
export BUILD_PATH = $(shell pwd)/snapshots/default
export TEST_CFLAGS = -finline-limit=400 -mbranch-cost=1 -Ofast -fno-code-hoisting -funroll-all-loops
program.hex:
@echo " ------------\/--------------- "
@echo " ------------||--------------- "
@echo " ------------||--------------- "
@echo " ----------******------------- "
@echo " ------------||--------------- "
@echo " ------------||--------------- "
@echo " ------------||--------------- "
@echo " ------------^^--------------- "
$(MAKE) -e -f $(RV_ROOT)/tools/make.common $(BUILD_PATH)/defines.h
$(MAKE) -e -f $(RV_ROOT)/tools/make.common $@
.DEFAULT:
$(MAKE) -e program.hex
$(MAKE) -e -f $(RV_ROOT)/tools/make.common $@