MacOSX build

Klaus Rechert klaus.rechert at rz.uni-freiburg.de
Mon May 16 22:46:05 CEST 2011


Hi,

some quick notes on the MacOSX build. Current git builds fine using the 
perbuilt GNUARM MacOS toolchain except that GCC 3.3 does not support the 
option -Wextra.
There are also some issues building mtk firmware but this seems to be a 
more general issue.

Cheers
     Klaus

diff --git a/src/target/firmware/Makefile.inc 
b/src/target/firmware/Makefile.inc
index 1f54031..c8f4323 100644
--- a/src/target/firmware/Makefile.inc
+++ b/src/target/firmware/Makefile.inc
@@ -12,7 +12,7 @@ OBJCOPY=objcopy
  DEBUGF=dwarf-2

  CFLAGS=-mcpu=arm7tdmi $(INCLUDES)
-CFLAGS += -Wall -Wextra -Wcast-align -Wimplicit -Wunused
+CFLAGS += -Wall -Wcast-align -Wimplicit -Wunused
  CFLAGS += -Wswitch -Wredundant-decls -Wreturn-type -Wshadow 
-Wnested-externs
  CFLAGS += -Wbad-function-cast -Wsign-compare -Waggregate-return
  CFLAGS += -Os -ffunction-sections



More information about the baseband-devel mailing list