summaryrefslogtreecommitdiff
path: root/nuttx/configs/mx1ads
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-21 16:58:58 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-21 16:58:58 +0000
commitae15cd5e53907a95e42586d1a96a24b71299349d (patch)
tree187cdab659238c72bca505dd07fec653cf640623 /nuttx/configs/mx1ads
parent77c1a6ae19c1cbe5e2b7f1de0d73809885f11ed7 (diff)
downloadpx4-nuttx-ae15cd5e53907a95e42586d1a96a24b71299349d.tar.gz
px4-nuttx-ae15cd5e53907a95e42586d1a96a24b71299349d.tar.bz2
px4-nuttx-ae15cd5e53907a95e42586d1a96a24b71299349d.zip
Flesh out examples/nxflat build environment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1921 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/mx1ads')
-rw-r--r--nuttx/configs/mx1ads/ostest/Make.defs6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/configs/mx1ads/ostest/Make.defs b/nuttx/configs/mx1ads/ostest/Make.defs
index c45d006e3..89bad6d86 100644
--- a/nuttx/configs/mx1ads/ostest/Make.defs
+++ b/nuttx/configs/mx1ads/ostest/Make.defs
@@ -81,6 +81,12 @@ CXXPICFLAGS = $(ARCHPICFLAGS) $(CXXFLAGS)
CPPFLAGS = $(ARCHINCLUDES) $(ARCHDEFINES)
AFLAGS = $(CFLAGS) -D__ASSEMBLY__
+NXFLATLDFLAGS1 = -r -d -warn-common
+NXFLATLDFLAGS2 = $(NXFLATLDFLAGS1) \
+ -T$(TOPDIR)/binfmt/libnxflat/gnu-nxflat.ld \
+ -no-check-sections
+LDNXFLATFLAGS = -e main -s 2048
+
OBJEXT = .o
LIBEXT = .a
EXEEXT =