Misc m9s12x updates

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3278 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-02-10 20:15:42 +00:00
parent 5c36894300
commit c01814cdad
6 changed files with 42 additions and 48 deletions
+3 -3
View File
@@ -38,15 +38,15 @@ include ${TOPDIR}/.config
# Setup for the selected toolchain
# NuttX buildroot under Linux or Cygwin
CROSSDEV = m68hc12-elf-
CROSSDEV = m9s12x-elf-
MAXOPTIMIZATION = -Os
WINTOOL = n
ifeq ($(CONFIG_HCS12_NONBANKED),y)
ARCHCPUFLAGS = -m68hcs12 -mshort -mnolong-calls
ARCHCPUFLAGS = -m9s12x -mshort -mnolong-calls
LDSCRIPT = ld.script.nonbanked
else
ARCHCPUFLAGS = -m68hcs12 -mshort -mlong-calls
ARCHCPUFLAGS = -m9x12x -mshort -mlong-calls
LDSCRIPT = ld.script.banked
endif