whoops, test of variables.mak was the wrong way round
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 26 Jan 2022 18:42:00 +0000 (18:42 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 26 Jan 2022 18:42:50 +0000 (18:42 +0000)
litedram/gen-src/sdram_init/Makefile

index 831175984416b2a139a0d04815323e42ed64f015..0b67630056c5021df4b69d4f42e9f46e2469322e 100644 (file)
@@ -3,14 +3,15 @@
 # check for variables.mak and if not, allow stand-alone BIOS to be compiled
 # (disables SDRAM)
 ifeq ("$(wildcard variables.mak)","")
-    include variables.mak
-    NO_SDRAM=
-else
     BUILD_DIR=.
     SRC_DIR=.
     GENINC_DIR=.
     NO_SDRAM=true
     EXTRA_CFLAGS=-DSTANDALONE_MINI_BIOS
+    $(info "no variables.mak, activating standalone "mini BIOS" mode")
+else
+    include variables.mak
+    NO_SDRAM=
 endif
 
 OBJ = $(BUILD_DIR)/obj