aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaute Hope <eg@gaute.vetsj.com>2012-04-27 15:44:09 +0200
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-15 15:57:16 -0400
commita4ad79bf6bef66c6b828b7999dd1767d170f7e97 (patch)
treeb1d96a2e7411eac599679e13ae14fcbeaaf2bfcf
parent7ac498c2a2ad00e0a9c850f22a1012a9a3240fb7 (diff)
downloadlibrambutan-a4ad79bf6bef66c6b828b7999dd1767d170f7e97.tar.gz
librambutan-a4ad79bf6bef66c6b828b7999dd1767d170f7e97.zip
Xlinker + Xassembler flags to Makefile
These flags were needed to have the Makefile working with arm-none-eabi-g++ (Sourcery CodeBench Lite 2011.09-69) 4.6.1. Signed-off-by: Gaute Hope <eg@gaute.vetsj.com> Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e2ca0e0..5d9eceb 100644
--- a/Makefile
+++ b/Makefile
@@ -54,8 +54,8 @@ GLOBAL_ASFLAGS := -mcpu=cortex-m3 -march=armv7-m -mthumb \
-x assembler-with-cpp $(GLOBAL_FLAGS)
LDFLAGS = -T$(LDDIR)/$(LDSCRIPT) -L$(LDDIR) \
-mcpu=cortex-m3 -mthumb -Xlinker -L $(LD_FAMILY_PATH) \
- --gc-sections --print-gc-sections --march=armv7-m -Wall
-
+ -Xlinker --gc-sections -Xlinker --print-gc-sections \
+ -Xassembler --march=armv7-m -Wall
##
## Build rules and useful templates
##