From: Luke Kenneth Casson Leighton Date: Wed, 26 Jan 2022 19:20:17 +0000 (+0000) Subject: add EXTRA_CFLAGS to CFLAGS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d58b112a125fa90d5c61170e3e5e5dc38b0f44dd;p=microwatt.git add EXTRA_CFLAGS to CFLAGS --- diff --git a/litedram/gen-src/sdram_init/Makefile b/litedram/gen-src/sdram_init/Makefile index 0b67630..276e060 100644 --- a/litedram/gen-src/sdram_init/Makefile +++ b/litedram/gen-src/sdram_init/Makefile @@ -49,7 +49,7 @@ CPPFLAGS += -I$(GENINC_DIR) -I$(SRC_DIR)/include -I$(SRC_DIR)/../../../include - CPPFLAGS += -I$(LXSRC_DIR) -I$(LXINC_DIR) -I$(LXINC_DIR)/base -I$(LXSRC_DIR)/liblitedram CPPFLAGS += -isystem $(shell $(CC) -print-file-name=include) -CFLAGS = -Os -g -Wall -std=c99 -m64 -mabi=elfv2 -msoft-float -mno-string -mno-multiple -mno-vsx -mno-altivec -mlittle-endian -fno-stack-protector -mstrict-align -ffreestanding -fdata-sections -ffunction-sections -fno-delete-null-pointer-checks +CFLAGS = -Os -g -Wall -std=c99 -m64 -mabi=elfv2 -msoft-float -mno-string -mno-multiple -mno-vsx -mno-altivec -mlittle-endian -fno-stack-protector -mstrict-align -ffreestanding -fdata-sections -ffunction-sections -fno-delete-null-pointer-checks $(EXTRA_CFLAGS) ASFLAGS = $(CPPFLAGS) $(CFLAGS) LDFLAGS = -static -nostdlib -T $(OBJ)/$(PROGRAM).lds --gc-sections