[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [5449] Try harder to find the OE arm7 crosscompiler
From: |
Allen Ibara |
Subject: |
[paparazzi-commits] [5449] Try harder to find the OE arm7 crosscompiler |
Date: |
Wed, 18 Aug 2010 02:53:18 +0000 |
Revision: 5449
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5449
Author: aibara
Date: 2010-08-18 02:53:18 +0000 (Wed, 18 Aug 2010)
Log Message:
-----------
Try harder to find the OE arm7 crosscompiler
Modified Paths:
--------------
paparazzi3/trunk/conf/Makefile.omap
Modified: paparazzi3/trunk/conf/Makefile.omap
===================================================================
--- paparazzi3/trunk/conf/Makefile.omap 2010-08-18 02:31:39 UTC (rev 5448)
+++ paparazzi3/trunk/conf/Makefile.omap 2010-08-18 02:53:18 UTC (rev 5449)
@@ -23,11 +23,14 @@
# Define programs and commands.
-OVERO_OE=`find /opt/paparazzi/omap ~ / -maxdepth 1 -type d -name overo-oe
2>/dev/null | head -n 1`
-#OVERO_OE=/opt/paparazzi/omap/overo-oe
+# Look for an open embedded directory
+OVERO_OE := $(shell find -L /opt/paparazzi/omap ~ / -maxdepth 1 -type d -name
overo-oe 2>/dev/null | head -n 1)
-#CC = $(OVERO_OE)/tmp/cross/armv7a/bin/arm-angstrom-linux-gnueabi-gcc
-CC =
$(OVERO_OE)/tmp/sysroots/i686-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-gcc
+# Multiple places to look for compiler within oe directory structure
+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)
LD = $(CC)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [5449] Try harder to find the OE arm7 crosscompiler,
Allen Ibara <=