mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
m9s12x context save structure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3298 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -46,10 +46,14 @@ ifeq ($(CONFIG_HCS12_NONBANKED),y)
|
|||||||
ARCHCPUFLAGS = -m9s12x -mshort -mnolong-calls
|
ARCHCPUFLAGS = -m9s12x -mshort -mnolong-calls
|
||||||
LDSCRIPT = ld.script.nonbanked
|
LDSCRIPT = ld.script.nonbanked
|
||||||
else
|
else
|
||||||
ARCHCPUFLAGS = -m9x12x -mshort -mlong-calls
|
ARCHCPUFLAGS = -m9s12x -mshort -mlong-calls
|
||||||
LDSCRIPT = ld.script.banked
|
LDSCRIPT = ld.script.banked
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(CONFIG_HCS12_MSOFTREGS),0)
|
||||||
|
ARCHCPUFLAGS += -msoft-reg-count=$(CONFIG_HCS12_MSOFTREGS)
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(WINTOOL),y)
|
ifeq ($(WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
DIRLINK = $(TOPDIR)/tools/winlink.sh
|
DIRLINK = $(TOPDIR)/tools/winlink.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user