summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/eagle100/nsh
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2009-06-21 16:58:58 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2009-06-21 16:58:58 +0000
commit9efb63994aed4981a319bcf45cde5a883909e018 (patch)
tree187cdab659238c72bca505dd07fec653cf640623 /nuttx/configs/eagle100/nsh
parentf585847389425b0a51a9746b7a1f7220914da722 (diff)
Flesh out examples/nxflat build environment
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1921 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/configs/eagle100/nsh')
-rw-r--r--nuttx/configs/eagle100/nsh/Make.defs6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/configs/eagle100/nsh/Make.defs b/nuttx/configs/eagle100/nsh/Make.defs
index dead72b732..4b30ea9eff 100644
--- a/nuttx/configs/eagle100/nsh/Make.defs
+++ b/nuttx/configs/eagle100/nsh/Make.defs
@@ -95,6 +95,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 =