mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
SDKリビジョン2623でビルドできるよう修正。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@258 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
04111630ee
commit
d8deaee5c4
@ -43,6 +43,7 @@ LDEPENDS_RES += $(SYSMENU_BUILDTOOLSDIR)/commondefs.sysmenu
|
||||
### TWL-commondefs
|
||||
#
|
||||
#include $(TWLSDK_ROOT)/build/buildtools/commondefs
|
||||
include $(TWLSDK_ROOT)/add-ins/es/commondefs.es
|
||||
include $(NITROSYSTEM_ROOT)/build/buildtools/commondefs
|
||||
|
||||
|
||||
@ -91,11 +92,10 @@ MAKEWAD ?= $(TWLSDK_ROOT)/build/tools/TwlNMenu/data/makeWad.pl
|
||||
|
||||
### Global Library resettings
|
||||
|
||||
GINCLUDES := $(SYSMENU_INCDIR) $(GINCLUDES)
|
||||
GINCLUDES := $(SYSMENU_INCDIR) $(GINCLUDES) $(ES_ROOT)/include
|
||||
GLIBRARY_DIRS := $(SYSMENU_LIBDIR) $(GLIBRARY_DIRS)
|
||||
GLIBRARIES := $(SYSMENU_LIBS) $(GLIBRARIES)
|
||||
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# TWLSYSMENU_INSTALL_ROOT
|
||||
#
|
||||
|
||||
@ -45,7 +45,7 @@ CCFLAGS += -DSDK_NOCRYPTO
|
||||
endif
|
||||
|
||||
ifndef TWLSDK_NOCRYPTO
|
||||
MAKELCF_FLAGS += -DUSE_CRYPTO_LIBS='libaes_sp.TWL$(CODEGEN).a'
|
||||
MAKELCF_FLAGS += -DUSE_CRYPTO_LIBS='libaes_sp$(TWL_LIBSUFFIX).a'
|
||||
endif
|
||||
|
||||
#MACRO_FLAGS += -DSDK_ARM7COMP_LTD
|
||||
|
||||
@ -33,34 +33,34 @@ Autoload WRAM
|
||||
Library libsubpsyscall.a \
|
||||
libsyscall_sp.twl.a \
|
||||
$(CW_LIBS) \
|
||||
libos_sp.TWL$(CODEGEN).a \
|
||||
libmi_sp.TWL$(CODEGEN).a \
|
||||
libpad_sp.TWL$(CODEGEN).a \
|
||||
libpxi_sp.TWL$(CODEGEN).a \
|
||||
libstd_sp.TWL$(CODEGEN).a \
|
||||
libexi_sp.TWL$(CODEGEN).a \
|
||||
libsnd_sp.TWL$(CODEGEN).a \
|
||||
libspi_sp.TWL$(CODEGEN).a \
|
||||
libpm_sp.TWL$(CODEGEN).a \
|
||||
libmath_sp.TWL$(CODEGEN).a \
|
||||
libscfg_sp.TWL$(CODEGEN).a \
|
||||
libtp_sp.TWL$(CODEGEN).a \
|
||||
libmic_sp.TWL$(CODEGEN).a \
|
||||
libfs_sp.TWL$(CODEGEN).a \
|
||||
libcard_sp.TWL$(CODEGEN).a \
|
||||
libi2c_sp.TWL$(CODEGEN).a \
|
||||
libcamera_sp.TWL$(CODEGEN).a \
|
||||
libcdc_sp.TWL$(CODEGEN).a \
|
||||
libtpex_sp.TWL$(CODEGEN).a \
|
||||
libmicex_sp.TWL$(CODEGEN).a \
|
||||
libboot_sp.TWL$(CODEGEN).a \
|
||||
libreboot_sp.TWL$(CODEGEN).a \
|
||||
libcardboot_sp.TWL$(CODEGEN).a \
|
||||
libos_sp$(LIBSUFFIX).a \
|
||||
libmi_sp$(LIBSUFFIX).a \
|
||||
libpad_sp$(LIBSUFFIX).a \
|
||||
libpxi_sp$(LIBSUFFIX).a \
|
||||
libstd_sp$(LIBSUFFIX).a \
|
||||
libexi_sp$(LIBSUFFIX).a \
|
||||
libsnd_sp$(LIBSUFFIX).a \
|
||||
libspi_sp$(LIBSUFFIX).a \
|
||||
libpm_sp$(LIBSUFFIX).a \
|
||||
libmath_sp$(LIBSUFFIX).a \
|
||||
libscfg_sp$(LIBSUFFIX).a \
|
||||
libtp_sp$(LIBSUFFIX).a \
|
||||
libmic_sp$(LIBSUFFIX).a \
|
||||
libfs_sp$(LIBSUFFIX).a \
|
||||
libcard_sp$(LIBSUFFIX).a \
|
||||
libi2c_sp$(LIBSUFFIX).a \
|
||||
libcamera_sp$(LIBSUFFIX).a \
|
||||
libcdc_sp$(LIBSUFFIX).a \
|
||||
libtpex_sp$(LIBSUFFIX).a \
|
||||
libmicex_sp$(LIBSUFFIX).a \
|
||||
libboot_sp$(LIBSUFFIX).a \
|
||||
libreboot_sp$(LIBSUFFIX).a \
|
||||
libcardboot_sp$(LIBSUFFIX).a \
|
||||
|
||||
Library libsdio_hcd_twl.TWL$(CODEGEN).a \
|
||||
libsdio_busdriver.TWL$(CODEGEN).a \
|
||||
libsdio_lib.TWL$(CODEGEN).a \
|
||||
libARM7athdrv.TWL$(CODEGEN).a
|
||||
Library libsdio_hcd_twl$(LIBSUFFIX).a \
|
||||
libsdio_busdriver$(LIBSUFFIX).a \
|
||||
libsdio_lib$(LIBSUFFIX).a \
|
||||
libARM7athdrv$(LIBSUFFIX).a
|
||||
|
||||
Object * (.etable)
|
||||
Object * (.wram)
|
||||
@ -70,61 +70,61 @@ Autoload WRAM
|
||||
#####
|
||||
# Sub-routines in WL library , that should be on WRAM.
|
||||
# in TaskMan.o
|
||||
Object OBJECT( MainTaskRoutine , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( AddTask , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( DeleteTask , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( LowestIdleTask , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( ExecuteMessage , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( MainTaskRoutine , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( AddTask , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( DeleteTask , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( LowestIdleTask , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( ExecuteMessage , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
# in BufMan.o
|
||||
Object OBJECT( NewHeapBuf , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( DeleteHeapBuf , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( AllocateHeapBuf , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( ReleaseHeapBuf , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( MoveHeapBuf , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( AddHeapBuf , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( GetHeapBufNextAdrs , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( NewHeapBuf , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( DeleteHeapBuf , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( AllocateHeapBuf , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( ReleaseHeapBuf , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( MoveHeapBuf , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( AddHeapBuf , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( GetHeapBufNextAdrs , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
# in WlCmdIf.o
|
||||
Object OBJECT( RequestCmdTask , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( SendMessageToWmDirect , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( RequestCmdTask , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( SendMessageToWmDirect , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
# in WlNic.o
|
||||
Object OBJECT( WStart , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WStop , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WSetStaState , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WStart , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WStop , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WSetStaState , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
# in WlIntr.o
|
||||
Object OBJECT( WlIntr , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WlIntrPreTbtt , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WlIntrTbtt , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WlIntrActEnd , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
# Object OBJECT( WlIntrAckCntOvf , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WlIntrCntOvf , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WlIntrTxErr , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WlIntrRxCntup , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WlIntrTxEnd , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WlIntrRxEnd , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WlIntrMpEnd , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WlIntrStartTx , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WlIntrStartRx , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( SetParentTbttTxq , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( MacBugTxMp , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( AdjustRingPointer , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( CheckKeyTxEnd , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WlIntr , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WlIntrPreTbtt , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WlIntrTbtt , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WlIntrActEnd , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
# Object OBJECT( WlIntrAckCntOvf , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WlIntrCntOvf , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WlIntrTxErr , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WlIntrRxCntup , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WlIntrTxEnd , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WlIntrRxEnd , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WlIntrMpEnd , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WlIntrStartTx , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WlIntrStartRx , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( SetParentTbttTxq , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( MacBugTxMp , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( AdjustRingPointer , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( CheckKeyTxEnd , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
# in WlIntrTask.o
|
||||
Object OBJECT( WlIntrTxBeaconTask , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WlIntrTxEndTask , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WlIntrRxEndTask , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WlIntrMpEndTask , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( SetParentTbttTxqTask , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( TakeoutRxFrame , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WlIntrTxBeaconTask , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WlIntrTxEndTask , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WlIntrRxEndTask , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WlIntrMpEndTask , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( SetParentTbttTxqTask , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( TakeoutRxFrame , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
# in TxCtrl.o
|
||||
Object OBJECT( InitTxCtrl , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( InitTxCtrl , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
# in RxCtrl.o
|
||||
Object OBJECT( InitRxCtrl , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( InitRxCtrl , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
# in WaitLoop.o
|
||||
Object OBJECT( WaitLoop_Rxpe , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WaitLoop_Waitus , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WaitLoop_ClrAid , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WaitLoop_BbpAccess , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WaitLoop_RfAccess , libwl_sp.TWL$(CODEGEN).a ) (.text)
|
||||
Object OBJECT( WaitLoop_Rxpe , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WaitLoop_Waitus , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WaitLoop_ClrAid , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WaitLoop_BbpAccess , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
Object OBJECT( WaitLoop_RfAccess , libwl_sp$(LIBSUFFIX).a ) (.text)
|
||||
|
||||
}
|
||||
|
||||
@ -134,15 +134,15 @@ Ltdautoload LTDMAIN
|
||||
After $(TARGET_NAME)
|
||||
|
||||
Object * (.ltdmain)
|
||||
Library libnvram_sp.TWL$(CODEGEN).a
|
||||
Library librtc_sp.TWL$(CODEGEN).a
|
||||
Library librompatch_sp.TWL$(CODEGEN).a \
|
||||
libwm_sp.TWL$(CODEGEN).a \
|
||||
libnwm_sp.TWL$(CODEGEN).a \
|
||||
libwvr_sp.TWL$(CODEGEN).a \
|
||||
libwl_sp.TWL$(CODEGEN).a \
|
||||
Library libnvram_sp$(LIBSUFFIX).a
|
||||
Library librtc_sp$(LIBSUFFIX).a
|
||||
Library librompatch_sp$(LIBSUFFIX).a \
|
||||
libwm_sp$(LIBSUFFIX).a \
|
||||
libnwm_sp$(LIBSUFFIX).a \
|
||||
libwvr_sp$(LIBSUFFIX).a \
|
||||
libwl_sp$(LIBSUFFIX).a \
|
||||
|
||||
Library libfatfs_sp.TWL$(CODEGEN).a \
|
||||
Library libfatfs_sp$(LIBSUFFIX).a \
|
||||
$(USE_CRYPTO_LIBS)
|
||||
Library $(ISDBG_LIBS_TWL)
|
||||
Library $(ISDBG_LIBS_NITRO)
|
||||
|
||||
@ -352,7 +352,7 @@ static s32 ReadFile(FSFile* pf, void* buffer, s32 size)
|
||||
return size;
|
||||
}
|
||||
|
||||
#include <twl/ese.h>
|
||||
#include <es.h>
|
||||
ESTitleMeta dst[1];
|
||||
|
||||
// NANDタイトルリストの取得
|
||||
|
||||
Loading…
Reference in New Issue
Block a user