diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-08 00:27:35 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-08 00:27:35 +0000 |
commit | 8f66f424602e26f0a43a62beaa3c2aec7775c890 (patch) | |
tree | 28249f121ebc9fd071e24222304b4c0770b6fd86 /nuttx/configs/qemu-i486/ostest/Make.defs | |
parent | ddd126cb2969bec42a4430b7d8fcdd45de4a42c1 (diff) | |
download | px4-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.defs | 8 |
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 |