Commit 22100759 authored by Yunsup Lee's avatar Yunsup Lee
Browse files

allow BACKEND/CONFIG be environment variables

parent 484648d9
......@@ -15,8 +15,8 @@ mem_gen = $(base_dir)/fsim/fpga_mem_gen
sim_dir = .
output_dir = $(sim_dir)/output
BACKEND = fpga
CONFIG = DefaultFPGAConfig
BACKEND ?= fpga
CONFIG ?= DefaultFPGAConfig
include $(base_dir)/Makefrag
include $(sim_dir)/Makefrag
......
......@@ -15,8 +15,8 @@ mem_gen = $(base_dir)/vsim/vlsi_mem_gen
sim_dir = .
output_dir = $(sim_dir)/output
BACKEND = rocketchip.RocketChipBackend
CONFIG = DefaultVLSIConfig
BACKEND ?= rocketchip.RocketChipBackend
CONFIG ?= DefaultVLSIConfig
include $(base_dir)/Makefrag
include $(sim_dir)/Makefrag
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment