summaryrefslogtreecommitdiff
path: root/nuttx/configs/ntosd-dm320/poll
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/ntosd-dm320/poll')
-rw-r--r--nuttx/configs/ntosd-dm320/poll/Make.defs6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/configs/ntosd-dm320/poll/Make.defs b/nuttx/configs/ntosd-dm320/poll/Make.defs
index 8e6b123c8..8966a537d 100644
--- a/nuttx/configs/ntosd-dm320/poll/Make.defs
+++ b/nuttx/configs/ntosd-dm320/poll/Make.defs
@@ -72,6 +72,12 @@ CPICFLAGS = $(ARCHPICFLAGS) $(CFLAGS)
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 =