Address fpga srcs

This commit is contained in:
abejgonzalez
2020-11-12 15:39:29 -08:00
parent 999ae05bfe
commit 55f19f79d3
6 changed files with 10 additions and 98 deletions

View File

@@ -10,7 +10,10 @@ CFLAGS+= -fno-common -g -DENTROPY=0 -mabi=lp64 -DNONSMP_HART=0
CFLAGS+= -I $(ROOT_DIR)/include -I.
LFLAGS=-static -nostdlib -L $(ROOT_DIR)/linker -T sdboot.elf.lds
#PBUS_CLK passed in
PBUS_CLK ?= 1000000 # default to 1MHz but really should be overridden
default: elf bin dump
elf := $(BUILD_DIR)/sdboot.elf
$(elf): head.S kprintf.c sd.c
mkdir -p $(BUILD_DIR)