mirror of
https://github.com/rvtr/twl_wrapsdk.git
synced 2025-10-31 06:11:10 -04:00
add twl syscalls.
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@171 4ee2a332-4b2b-5046-8439-1ba90f034370
This commit is contained in:
parent
a048755d9e
commit
3b35b669e3
@ -145,6 +145,12 @@ DEFAULT_TWL_ROM_SPEC := $(TWL_SPECDIR)/ROM-$(TWL_PLATFORM).rsf
|
|||||||
# replace NitroSDK
|
# replace NitroSDK
|
||||||
NITRO_BUILDARCH ?= $(TWL_BUILDARCH)
|
NITRO_BUILDARCH ?= $(TWL_BUILDARCH)
|
||||||
|
|
||||||
|
ifeq ($(CODEGEN_PROC),ARM9)
|
||||||
|
TWL_LIBSYSCALL ?= $(TWL_LIBSYSCALLDIR)/libsyscall.twl.a
|
||||||
|
else # ($(CODEGEN_PROC),ARM7)
|
||||||
|
TWL_LIBSYSCALL ?= $(TWL_LIBSYSCALLDIR)/libsyscall_sp.twl.a
|
||||||
|
endif # ($(CODEGEN_PROC),ARM7)
|
||||||
|
|
||||||
|
|
||||||
### Compiler & Linker settings
|
### Compiler & Linker settings
|
||||||
|
|
||||||
@ -197,7 +203,9 @@ endif
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
TWL_LIBS ?= $(addsuffix $(TWL_LIBSUFFIX).a,$(TWL_LIBS_BASE))
|
TWL_LIBS ?= $(addsuffix $(TWL_LIBSUFFIX).a,$(TWL_LIBS_BASE)) \
|
||||||
|
$(notdir $(TWL_LIBSYSCALL)) \
|
||||||
|
|
||||||
|
|
||||||
TWL_LDEPENDS_DBG ?= $(TWLSDK_ROOT)/build/libraries/os/common/os_printf.c \
|
TWL_LDEPENDS_DBG ?= $(TWLSDK_ROOT)/build/libraries/os/common/os_printf.c \
|
||||||
|
|
||||||
@ -229,7 +237,7 @@ endif
|
|||||||
### Global Library resettings
|
### Global Library resettings
|
||||||
|
|
||||||
GINCLUDES := $(TWL_INCDIR) $(GINCLUDES)
|
GINCLUDES := $(TWL_INCDIR) $(GINCLUDES)
|
||||||
GLIBRARY_DIRS := $(TWL_LIBDIR) $(GLIBRARY_DIRS)
|
GLIBRARY_DIRS := $(TWL_LIBDIR) $(dir $(TWL_LIBSYSCALL)) $(GLIBRARY_DIRS)
|
||||||
GLIBRARIES := $(TWL_LIBS) \
|
GLIBRARIES := $(TWL_LIBS) \
|
||||||
$(filter-out $(addsuffix $(NITRO_LIBSUFFIX).a,$(TWL_LIBS_BASE)),$(GLIBRARIES))
|
$(filter-out $(addsuffix $(NITRO_LIBSUFFIX).a,$(TWL_LIBS_BASE)),$(GLIBRARIES))
|
||||||
|
|
||||||
|
|||||||
BIN
lib/ARM7-BB/etc/libsyscall_sp.twl.a
Normal file
BIN
lib/ARM7-BB/etc/libsyscall_sp.twl.a
Normal file
Binary file not shown.
BIN
lib/ARM9-BB/etc/libsyscall.twl.a
Normal file
BIN
lib/ARM9-BB/etc/libsyscall.twl.a
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user