allow BACKEND/CONFIG be environment variables
This commit is contained in:
parent
484648d9c7
commit
221007595b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user