summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/mx1ads/ostest/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/mx1ads/ostest/Make.defs')
-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 c45d006e30..89bad6d864 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 =