From: Luke Kenneth Casson Leighton Date: Wed, 26 Jan 2022 18:42:00 +0000 (+0000) Subject: whoops, test of variables.mak was the wrong way round X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29de32235738b63e009081a399dff7546a3d6581;p=microwatt.git whoops, test of variables.mak was the wrong way round --- 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