From 29de32235738b63e009081a399dff7546a3d6581 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 26 Jan 2022 18:42:00 +0000 Subject: [PATCH] whoops, test of variables.mak was the wrong way round --- litedram/gen-src/sdram_init/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/litedram/gen-src/sdram_init/Makefile b/litedram/gen-src/sdram_init/Makefile index 8311759..0b67630 100644 --- a/litedram/gen-src/sdram_init/Makefile +++ b/litedram/gen-src/sdram_init/Makefile @@ -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 -- 2.30.2