diff options
author | Lasse Dalegaard <dalegaard@gmail.com> | 2021-07-02 20:23:22 +0200 |
---|---|---|
committer | Lasse Dalegaard <dalegaard@gmail.com> | 2021-07-04 16:36:52 +0200 |
commit | bb2f27f928085861b4bc9ad0c4886a5635fd3326 (patch) | |
tree | cf61c1192df6f8a491eb9ca623a001fe7b31af00 | |
parent | ff5689e9e1d2694e34223327ca5d76304b365284 (diff) | |
download | kutter-bb2f27f928085861b4bc9ad0c4886a5635fd3326.tar.gz kutter-bb2f27f928085861b4bc9ad0c4886a5635fd3326.tar.xz kutter-bb2f27f928085861b4bc9ad0c4886a5635fd3326.zip |
rp2040: remove unused linker option
In binutils 2.36 and above the -nostartfiles option is no longer
ignored. -nostartfiles is actually a gcc option, and so isn't supported
by ld. Earlier versions of binutils however had less error checking, and
thus just ignored the option.
Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
-rw-r--r-- | src/rp2040/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rp2040/Makefile b/src/rp2040/Makefile index eed409ad..07c02a13 100644 --- a/src/rp2040/Makefile +++ b/src/rp2040/Makefile @@ -23,7 +23,7 @@ src-$(CONFIG_SERIAL) += rp2040/serial.c generic/serial_irq.c $(OUT)stage2.o: lib/rp2040/boot_stage2/boot2_w25q080.S @echo " Building rp2040 stage2 $@" $(Q)$(CC) $(CFLAGS) -Ilib/rp2040/boot_stage2 -Ilib/rp2040/boot_stage2/asminclude -DPICO_FLASH_SPI_CLKDIV=2 -c $< -o $(OUT)stage2raw1.o - $(Q)$(LD) $(OUT)stage2raw1.o -nostartfiles --script=lib/rp2040/boot_stage2/boot_stage2.ld -o $(OUT)stage2raw.o + $(Q)$(LD) $(OUT)stage2raw1.o --script=lib/rp2040/boot_stage2/boot_stage2.ld -o $(OUT)stage2raw.o $(Q)$(OBJCOPY) -O binary $(OUT)stage2raw.o $(OUT)stage2raw.bin $(Q)lib/rp2040/boot_stage2/pad_checksum -s 0xffffffff $(OUT)stage2raw.bin $(OUT)stage2.S $(Q)$(CC) $(CFLAGS) -c $(OUT)stage2.S -o $(OUT)stage2.o |