From addaa701812ec0e4b26f956be177845b67399d1a Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 26 Jun 2012 23:16:29 -0400 Subject: Fix botched TARGET_LDFLAGS. Works with officially supported CodeSourcery toolchain. May need tweaks for users with a more modern arm-none-eabi-g++. Signed-off-by: Marti Bolivar --- support/make/target-config.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/support/make/target-config.mk b/support/make/target-config.mk index 278ca3f..b79c720 100644 --- a/support/make/target-config.mk +++ b/support/make/target-config.mk @@ -33,9 +33,9 @@ LD_SERIES_PATH := $(LD_SERIES_PATH)/$(MCU_F1_LINE) endif TARGET_LDFLAGS += -Xlinker -T$(LD_SCRIPT_PATH) \ - -Xlinker -L $(LD_SERIES_PATH) \ - -Xlinker -L $(LD_MEM_PATH) \ - -Xlinker -L$(LDDIR) + -L $(LD_SERIES_PATH) \ + -L $(LD_MEM_PATH) \ + -L $(LDDIR) TARGET_FLAGS += -DBOARD_$(BOARD) -DMCU_$(MCU) \ -DERROR_LED_PORT=$(ERROR_LED_PORT) \ -DERROR_LED_PIN=$(ERROR_LED_PIN) \ -- cgit v1.2.3