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
|
LD_FILE = rtl8710.ld
|
||||||
|
|
||||||
CFLAGS = -Wall -g -Os \
|
CFLAGS = -mcpu=cortex-m4 -mthumb -Os -flto \
|
||||||
-mcpu=cortex-m4 -mthumb -mfloat-abi=soft \
|
-nostartfiles -ffreestanding \
|
||||||
-ffunction-sections -fdata-sections -flto \
|
-ffunction-sections -fdata-sections -Wl,--gc-sections \
|
||||||
-mlittle-endian -mthumb-interwork \
|
|
||||||
-ffreestanding -fsingle-precision-constant \
|
|
||||||
-Wstrict-aliasing=0 -nostartfiles \
|
|
||||||
-Wl,-T,$(LD_FILE) -u main \
|
-Wl,-T,$(LD_FILE) -u main \
|
||||||
-Wl,--gc-sections \
|
|
||||||
-Wl,--defsym=_RAM_ORIGIN=$(FIRMWARE_ADDRESS) \
|
-Wl,--defsym=_RAM_ORIGIN=$(FIRMWARE_ADDRESS) \
|
||||||
-Wl,--defsym=_RAM_SIZE=$(RAM_SIZE) \
|
-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
|
SRC = rtl8710_flasher.c
|
||||||
TARGET = rtl8710_flasher
|
TARGET = rtl8710_flasher
|
||||||
|
|||||||
Reference in New Issue
Block a user