[linker] fix linker in no-bootloader mode

This was introduced in 02f71ee4. The sections.ld was being specified
to the linker twice, hence no text sections for data were being created.

Thanks to David Wood for helping me find this hilarious stupidity.
main-solar-only
Richard Meadows 2016-08-06 20:31:45 +01:00
rodzic 7e7dbc10ae
commit d64bba5b43
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -123,7 +123,7 @@ SYSTEM += test/tmain.c
ifdef BOOTLOADER
LINKERS ?= chip/$(shell echo $(TARGET_CHIP) | $(TR) A-Z a-z)_bootloader.ld
else
LINKERS ?= chip/$(shell echo $(TARGET_CHIP) | $(TR) A-Z a-z).ld chip/sections.ld
LINKERS ?= chip/$(shell echo $(TARGET_CHIP) | $(TR) A-Z a-z).ld
endif
LINKERS += chip/sections.ld