summaryrefslogtreecommitdiff
path: root/nuttx/configs/qemu-i486/ostest/Make.defs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-08 00:27:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-08 00:27:35 +0000
commit8f66f424602e26f0a43a62beaa3c2aec7775c890 (patch)
tree28249f121ebc9fd071e24222304b4c0770b6fd86 /nuttx/configs/qemu-i486/ostest/Make.defs
parentddd126cb2969bec42a4430b7d8fcdd45de4a42c1 (diff)
downloadpx4-nuttx-8f66f424602e26f0a43a62beaa3c2aec7775c890.tar.gz
px4-nuttx-8f66f424602e26f0a43a62beaa3c2aec7775c890.tar.bz2
px4-nuttx-8f66f424602e26f0a43a62beaa3c2aec7775c890.zip
Add support for platoform specific ROMFS startup files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3350 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/qemu-i486/ostest/Make.defs')
-rw-r--r--nuttx/configs/qemu-i486/ostest/Make.defs8
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/configs/qemu-i486/ostest/Make.defs b/nuttx/configs/qemu-i486/ostest/Make.defs
index c27cac0ef..14efb3f32 100644
--- a/nuttx/configs/qemu-i486/ostest/Make.defs
+++ b/nuttx/configs/qemu-i486/ostest/Make.defs
@@ -65,7 +65,15 @@ ARCHPICFLAGS = -fpic
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow
ARCHDEFINES =
+# We have to use a cross-development toolchain under Cygwin because the native
+# Cygwin toolchains don't generate ELF binaries.
+
+ifeq ($(HOSTOS),Cygwin)
+CROSSDEV = i486-elf-
+else
CROSSDEV =
+endif
+
CC = $(CROSSDEV)gcc
CPP = $(CROSSDEV)gcc -E
LD = $(CROSSDEV)ld