summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/Makefile.inc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-03-02 20:42:39 +0100
committerHarald Welte <laforge@gnumonks.org>2010-03-02 20:42:39 +0100
commit6944437bf492d46f8c39b4dadcd0ff55b7581eda (patch)
tree3a40dcdf690d36e8bd030327343c54fddde62cfb /src/target/firmware/Makefile.inc
parentd43fadf410e66934ce266cd1a5f96b89d56a9e90 (diff)
Introduce CONFIG_TX_ENABLE and disable Tx support by default
Tx support is considered experimental and potentially dangerous. Thus, the default build of the firmware does not have Tx support enabled. If you want Tx support, compile with -DCONFIG_TX_ENABLE by uncommenting the apropriate line in Makefile.inc
Diffstat (limited to 'src/target/firmware/Makefile.inc')
-rw-r--r--src/target/firmware/Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/target/firmware/Makefile.inc b/src/target/firmware/Makefile.inc
index ff29340c..a130cd79 100644
--- a/src/target/firmware/Makefile.inc
+++ b/src/target/firmware/Makefile.inc
@@ -14,6 +14,9 @@ CFLAGS += -Wa,-adhlns=$(subst $(suffix $<),.lst,$<)
CFLAGS += -Os -ffunction-sections
CFLAGS += -g$(DEBUGF)
+# Uncomment this line if you want to enable Tx (Transmit) Support.
+#CFLAGS += -DCONFIG_TX_ENABLE
+
# 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__