From: Anton Blanchard Date: Sat, 14 Aug 2021 09:34:12 +0000 (+1000) Subject: makefile: Check environment for MEMORY_SIZE/RAM_INIT_FILE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c81583c1285cc38aaf7e4fd9dd97d961db9244c3;p=microwatt.git makefile: Check environment for MEMORY_SIZE/RAM_INIT_FILE Signed-off-by: Anton Blanchard --- diff --git a/Makefile b/Makefile index 46bfdaa..9f308ba 100644 --- a/Makefile +++ b/Makefile @@ -141,8 +141,8 @@ $(soc_dram_tbs): %: $(soc_dram_files) $(soc_dram_sim_files) $(soc_dram_sim_obj_f endif # Hello world -MEMORY_SIZE=8192 -RAM_INIT_FILE=hello_world/hello_world.hex +MEMORY_SIZE ?=8192 +RAM_INIT_FILE ?=hello_world/hello_world.hex # Micropython #MEMORY_SIZE=393216