chore: remove redundant flags
This commit is contained in:
14
Makefile
14
Makefile
@@ -10,18 +10,14 @@ OBJCOPY = arm-none-eabi-objcopy
|
||||
|
||||
LD_FILE = rtl8710.ld
|
||||
|
||||
CFLAGS = -Wall -g -Os \
|
||||
-mcpu=cortex-m4 -mthumb -mfloat-abi=soft \
|
||||
-ffunction-sections -fdata-sections -flto \
|
||||
-mlittle-endian -mthumb-interwork \
|
||||
-ffreestanding -fsingle-precision-constant \
|
||||
-Wstrict-aliasing=0 -nostartfiles \
|
||||
CFLAGS = -mcpu=cortex-m4 -mthumb -Os -flto \
|
||||
-nostartfiles -ffreestanding \
|
||||
-ffunction-sections -fdata-sections -Wl,--gc-sections \
|
||||
-Wl,-T,$(LD_FILE) -u main \
|
||||
-Wl,--gc-sections \
|
||||
-Wl,--defsym=_RAM_ORIGIN=$(FIRMWARE_ADDRESS) \
|
||||
-Wl,--defsym=_RAM_SIZE=$(RAM_SIZE) \
|
||||
-DBUFFER_ADDRESS=$(BUFFER_ADDRESS) \
|
||||
-Wl,--defsym=_WORK_AREA_START=$(WORK_AREA_START)
|
||||
-Wl,--defsym=_WORK_AREA_START=$(WORK_AREA_START) \
|
||||
-DBUFFER_ADDRESS=$(BUFFER_ADDRESS)
|
||||
|
||||
SRC = rtl8710_flasher.c
|
||||
TARGET = rtl8710_flasher
|
||||
|
||||
Reference in New Issue
Block a user