mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-23 13:04:28 +00:00
20 lines
526 B
Makefile
20 lines
526 B
Makefile
TARGETDIR := lpddr_test
|
|
TARGET := $(TARGETDIR)/$(TARGETDIR).elf
|
|
ROOT := ..
|
|
LIBRARY_DIRS := ${ROOT}/crt0
|
|
LIBRARY_FILES := crt0
|
|
|
|
MARCH :=-march=rv64imfdczicbom
|
|
MABI :=-mabi=lp64d
|
|
LINKER := ${ROOT}/linker8000-0000.x
|
|
LINK_FLAGS :=$(MARCH) $(MABI) -nostartfiles -Wl,-Map=$(TARGET).map -L $(RISCV)/riscv64-unknown-elf/lib
|
|
|
|
CFLAGS =$(MARCH) $(MABI) -Wa,-alhs -Wa,-L -mcmodel=medany -mstrict-align -O2
|
|
CC=riscv64-unknown-elf-gcc
|
|
DA=riscv64-unknown-elf-objdump -d
|
|
|
|
|
|
include $(ROOT)/makefile.inc
|
|
|
|
|