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 = .
|
sim_dir = .
|
||||||
output_dir = $(sim_dir)/output
|
output_dir = $(sim_dir)/output
|
||||||
|
|
||||||
BACKEND = fpga
|
BACKEND ?= fpga
|
||||||
CONFIG = DefaultFPGAConfig
|
CONFIG ?= DefaultFPGAConfig
|
||||||
|
|
||||||
include $(base_dir)/Makefrag
|
include $(base_dir)/Makefrag
|
||||||
include $(sim_dir)/Makefrag
|
include $(sim_dir)/Makefrag
|
||||||
|
@ -15,8 +15,8 @@ mem_gen = $(base_dir)/vsim/vlsi_mem_gen
|
|||||||
sim_dir = .
|
sim_dir = .
|
||||||
output_dir = $(sim_dir)/output
|
output_dir = $(sim_dir)/output
|
||||||
|
|
||||||
BACKEND = rocketchip.RocketChipBackend
|
BACKEND ?= rocketchip.RocketChipBackend
|
||||||
CONFIG = DefaultVLSIConfig
|
CONFIG ?= DefaultVLSIConfig
|
||||||
|
|
||||||
include $(base_dir)/Makefrag
|
include $(base_dir)/Makefrag
|
||||||
include $(sim_dir)/Makefrag
|
include $(sim_dir)/Makefrag
|
||||||
|
Loading…
Reference in New Issue
Block a user