aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2010-05-19 22:25:29 +0000
committerPhilip Balister <philip@opensdr.com>2010-05-19 22:25:29 +0000
commitfe753af7e62e55668cb331b7b74ea14d6e45a0ec (patch)
tree2f46e61f33cf0266f7d57f722da28a61b9808ef0
parentd6fc36cb7aa39cbe3f6dde1b6bc4606a2e686279 (diff)
downloaduhd-fe753af7e62e55668cb331b7b74ea14d6e45a0ec.tar.gz
uhd-fe753af7e62e55668cb331b7b74ea14d6e45a0ec.tar.bz2
uhd-fe753af7e62e55668cb331b7b74ea14d6e45a0ec.zip
Use better optimization settings.
-rw-r--r--host/apps/omap_debug/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/host/apps/omap_debug/Makefile b/host/apps/omap_debug/Makefile
index 40e04e377..295d40979 100644
--- a/host/apps/omap_debug/Makefile
+++ b/host/apps/omap_debug/Makefile
@@ -1,4 +1,5 @@
-CFLAGS=-Wall -I../../lib/usrp/usrp_e/
+CFLAGS=-Wall -I../../lib/usrp/usrp_e/ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -O3
+CXXFLAGS=-Wall -I../../lib/usrp/usrp_e/ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -O3
all : usrp-e-spi usrp-e-i2c usrp-e-rw usrp-e-uart usrp-e-led usrp-e-ctl usrp-e-button usrp-e-uart-rx fpga-downloader usrp-e-gpio usrp-e-debug-pins usrp-e-rw-random usrp-e-timed usrp-e-lb-test usrp-e-crc-rw clkgen-config
@@ -7,16 +8,16 @@ usrp-e-spi : usrp-e-spi.c
usrp-e-i2c : usrp-e-i2c.c
usrp-e-rw : usrp-e-rw.c
- gcc -o $@ $< -lpthread
+ gcc -o $@ $< -lpthread ${CFLAGS}
usrp-e-timed : usrp-e-timed.c
- gcc -o $@ $< -lpthread
+ gcc -o $@ $< -lpthread ${CFLAGS}
usrp-e-rw-random : usrp-e-rw-random.c
- gcc -o $@ $< -lpthread
+ gcc -o $@ $< -lpthread ${CFLAGS}
usrp-e-crc-rw : usrp-e-crc-rw.c
- gcc -o $@ $< -lpthread
+ gcc -o $@ $< -lpthread ${CFLAGS}
usrp-e-uart : usrp-e-uart.c