From ae15cd5e53907a95e42586d1a96a24b71299349d Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 21 Jun 2009 16:58:58 +0000 Subject: Flesh out examples/nxflat build environment git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1921 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/mcu123-lpc214x/usbserial/Make.defs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nuttx/configs/mcu123-lpc214x/usbserial') diff --git a/nuttx/configs/mcu123-lpc214x/usbserial/Make.defs b/nuttx/configs/mcu123-lpc214x/usbserial/Make.defs index 933e50ef0..8d56c9d73 100644 --- a/nuttx/configs/mcu123-lpc214x/usbserial/Make.defs +++ b/nuttx/configs/mcu123-lpc214x/usbserial/Make.defs @@ -107,6 +107,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 = -- cgit v1.2.3