freedom/Makefile.u500vc707devkit

25 lines
927 B
Makefile
Raw Permalink Normal View History

2016-11-29 14:23:11 +01:00
# See LICENSE for license details.
base_dir := $(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
BUILD_DIR := $(base_dir)/builds/u500vc707devkit
2017-08-19 03:21:04 +02:00
FPGA_DIR := $(base_dir)/fpga-shells/xilinx
MODEL := U500VC707DevKitFPGAChip
2016-11-29 14:23:11 +01:00
PROJECT := sifive.freedom.unleashed.u500vc707devkit
export CONFIG_PROJECT := sifive.freedom.unleashed.u500vc707devkit
2017-08-19 03:21:04 +02:00
export CONFIG := U500VC707DevKitConfig
export BOARD := vc707
export BOOTROM_DIR := $(base_dir)/bootrom/sdboot
2016-11-29 14:23:11 +01:00
rocketchip_dir := $(base_dir)/rocket-chip
sifiveblocks_dir := $(base_dir)/sifive-blocks
2017-08-19 03:21:04 +02:00
VSRCS := \
2016-11-29 14:23:11 +01:00
$(rocketchip_dir)/vsrc/AsyncResetReg.v \
2017-08-19 03:21:04 +02:00
$(rocketchip_dir)/vsrc/plusarg_reader.v \
2016-11-29 14:23:11 +01:00
$(sifiveblocks_dir)/vsrc/SRLatch.v \
2017-08-19 03:21:04 +02:00
$(FPGA_DIR)/common/vsrc/PowerOnResetFPGAOnly.v \
$(FPGA_DIR)/$(BOARD)/vsrc/sdio.v \
$(FPGA_DIR)/$(BOARD)/vsrc/vc707reset.v \
$(BUILD_DIR)/$(CONFIG_PROJECT).$(CONFIG).rom.v \
$(BUILD_DIR)/$(CONFIG_PROJECT).$(CONFIG).v
2016-11-29 14:23:11 +01:00
include common.mk