Makefile: Don't force generic USE_LITEDRAM=true
authorMatt Johnston <matt@codeconstruct.com.au>
Thu, 3 Mar 2022 09:05:41 +0000 (17:05 +0800)
committerMatt Johnston <matt@codeconstruct.com.au>
Fri, 4 Mar 2022 03:49:39 +0000 (11:49 +0800)
That makes it easier to override a non-litedram build for testing
RAM_INIT_FILE, eg

make microwatt.dfu  LITEDRAM_GHDL_ARG=-gUSE_LITEDRAM=false  RAM_INIT_FILE=usb_hello/usb_hello.hex

Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Makefile

index 330ed48eeba5e9dcafb62f4f2172316c4d6d55dc..a6834c57af40a3f92ba264503cb2d797d02e321b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -212,7 +212,6 @@ ifneq ($(litedram_target),)
 soc_extra_synth += litedram/extras/litedram-wrapper-l2.vhdl \
        litedram/generated/$(litedram_target)/litedram-initmem.vhdl
 soc_extra_v += litedram/generated/$(litedram_target)/litedram_core.v
-LITEDRAM_GHDL_ARG=-gUSE_LITEDRAM=true
 endif
 
 GHDL_IMAGE_GENERICS=-gMEMORY_SIZE=$(MEMORY_SIZE) -gRAM_INIT_FILE=$(RAM_INIT_FILE) \