summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/Makefile.inc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-02-28 20:01:47 +0100
committerHarald Welte <laforge@gnumonks.org>2010-02-28 20:01:47 +0100
commite03b8de3d49120a07a3feb27b60118fbc6f3f4df (patch)
tree15f9805bb489229fbce2e54410b7d659848ebf9c /src/target/firmware/Makefile.inc
parent60298c914133459574d276476b851627637e0a4c (diff)
ensure osmocom-bb builds with older gcc-3.x based toolchains
Diffstat (limited to 'src/target/firmware/Makefile.inc')
-rw-r--r--src/target/firmware/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/target/firmware/Makefile.inc b/src/target/firmware/Makefile.inc
index f3f19478..ff29340c 100644
--- a/src/target/firmware/Makefile.inc
+++ b/src/target/firmware/Makefile.inc
@@ -14,6 +14,8 @@ CFLAGS += -Wa,-adhlns=$(subst $(suffix $<),.lst,$<)
CFLAGS += -Os -ffunction-sections
CFLAGS += -g$(DEBUGF)
-ASFLAGS=-Wa,-adhlns=$(<:.S=.lst),--g$(DEBUGF) $(INCLUDES) -D__ASSEMBLY__
+# some older toolchains don't support this, ignore it for now
+#ASFLAGS=-Wa,-adhlns=$(<:.S=.lst),--g$(DEBUGF) $(INCLUDES) -D__ASSEMBLY__
+ASFLAGS=-Wa,-adhlns=$(<:.S=.lst) $(INCLUDES) -D__ASSEMBLY__
LDFLAGS = -nostartfiles -nostdlib -nodefaultlibs --gc-sections #-Wl,-Map=$(TARGET).map,--cref