aboutsummaryrefslogtreecommitdiffstats
path: root/support/make
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-06-26 23:16:29 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-26 23:16:45 -0400
commitaddaa701812ec0e4b26f956be177845b67399d1a (patch)
tree48bf588326efc2ef99c7e8b435e133f6cdd186aa /support/make
parentf005bd3a5c087e3d5559f2858a1e7898a4f92a8d (diff)
downloadlibrambutan-addaa701812ec0e4b26f956be177845b67399d1a.tar.gz
librambutan-addaa701812ec0e4b26f956be177845b67399d1a.zip
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 <mbolivar@leaflabs.com>
Diffstat (limited to 'support/make')
-rw-r--r--support/make/target-config.mk6
1 files 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) \