paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [5885] Look harder for omap compiler, and use fp opt


From: Allen Ibara
Subject: [paparazzi-commits] [5885] Look harder for omap compiler, and use fp optimization cflags
Date: Wed, 15 Sep 2010 05:02:56 +0000

Revision: 5885
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5885
Author:   aibara
Date:     2010-09-15 05:02:56 +0000 (Wed, 15 Sep 2010)
Log Message:
-----------
Look harder for omap compiler, and use fp optimization cflags

Modified Paths:
--------------
    paparazzi3/trunk/conf/Makefile.omap

Modified: paparazzi3/trunk/conf/Makefile.omap
===================================================================
--- paparazzi3/trunk/conf/Makefile.omap 2010-09-15 05:01:20 UTC (rev 5884)
+++ paparazzi3/trunk/conf/Makefile.omap 2010-09-15 05:02:56 UTC (rev 5885)
@@ -30,10 +30,10 @@
 CC_NAME = arm-angstrom-linux-gnueabi-gcc
 CCPATH1 = $(OVERO_OE)/tmp/cross/armv7a/bin
 CCPATH2 = $(OVERO_OE)/tmp/sysroots/i686-linux/usr/armv7a/bin
-CC := $(shell find -L $(CCPATH1) $(CCPATH2) -name $(CC_NAME) -type f 
2>/dev/null | head -n 1)
+CCPATH3 = $(OVERO_OE)/tmp/sysroots/x86_64-linux/usr/armv7a/bin
+CC := $(shell find -L $(CCPATH1) $(CCPATH2) $(CCPATH3) -name $(CC_NAME) -type 
f 2>/dev/null | head -n 1)
 LD = $(CC)
 
-
 GLIB_INC = 
$(OVERO_OE)/tmp/work/armv7a-angstrom-linux-gnueabi/glib-2.0-2.22.4-r1/staging-pkg/staging/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0
 GLIB_LIB = 
$(OVERO_OE)/tmp/work/armv7a-angstrom-linux-gnueabi/glib-2.0-2.22.4-r1/staging-pkg/staging/armv7a-angstrom-linux-gnueabi/usr/lib/
 
@@ -46,7 +46,7 @@
 
 # Compiler flags.
 CFLAGS += $(CINCS)
-CFLAGS += -O$(OPT)
+CFLAGS += -O$(OPT) -mfloat-abi=softfp -mtune=cortex-a8 -mfpu=vfp -march=armv7-a
 # CFLAGS += -malignment-traps
 CFLAGS += -Wall -Wcast-qual -Wimplicit -Wcast-align
 CFLAGS += -Wpointer-arith -Wswitch




reply via email to

[Prev in Thread] Current Thread [Next in Thread]