Break out flag variables into multiple lines

This commit is contained in:
Imbus 2025-02-09 15:50:52 +01:00
parent 2d06c48a04
commit 9b30ef6db6

View file

@ -5,13 +5,22 @@ CURL_FLAGS := -O -\# --fail --location --tlsv1.3 --proto =https --max-time 300
TARGET = blink
TARGET_MCU?=CH32V003
NEWLIB=/usr/arm-none-eabi/include
CFLAGS=-g -Os -flto -ffunction-sections -fdata-sections -fmessage-length=0 -msmall-data-limit=8
LDFLAGS+=-Wl,--print-memory-usage -Wl,-Map=$(TARGET).map,--build-id=none
TOOL_PREFIX := riscv64-linux-gnu
CC := $(TOOL_PREFIX)-gcc
OBJDUMP := $(TOOL_PREFIX)-objdump
OBJCOPY := $(TOOL_PREFIX)-objcopy
CFLAGS = -g \
-Os \
-flto \
-ffunction-sections \
-fdata-sections \
-fmessage-length=0 \
-msmall-data-limit=8
LDFLAGS = -Wl,--print-memory-usage \
-Wl,-Map=$(TARGET).map,--build-id=none
EXTFLAGS := -march=rv32ec \
-mabi=ilp32e \
-DCH32V003=1 \