NVMe: Create snap_config.sv in any case
@@ -29,9 +29,10 @@ all: snap_config.sv
#
snap_config.sv: $(SNAP_CONFIG)
@echo "+++++ Generating $@ ... searching XSIM in $(SNAP_CONFIG) +++++"
+ echo "/* SNAP_CONFIG */" > snap_config.sv
grep "SIM_XSIM=y" $(SNAP_CONFIG); \
if [ $$? -eq 0 ]; then \
- echo "\`define SIM_XSIM 1" > snap_config.sv ; \
+ echo "\`define SIM_XSIM 1" >> snap_config.sv ; \
fi
clean:
