mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
自身のダイジェストをチェックしてくれるプログラムをboottestとしてTestMakerに組み込んでみる
……romごとの設定(yamlで指定されるもの)ではなく、TEST_TYPEごとの設定(commondefsインクルード前後の設定および使用するcommondefs・modulerules)をどう扱うか検討したほうが良さそう? git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2067 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
220cad3329
commit
c5ff682aa0
@ -31,6 +31,7 @@ EULAROMPARAM = ./config/romparam_forEULAtest.yaml
|
||||
SHOPROMPARAM = ./config/romparam_forShoptest.yaml
|
||||
SAVEROMPARAM = ./config/romparam_forSavetest.yaml
|
||||
FATFSPERMISSIONROMPARAM = ./config/romparam_forFATFSPermissiontest.yaml
|
||||
BOOTROMPARAM = ./config/romparam_forBoottest.yaml
|
||||
ROMPARAM = ./romparam.yaml
|
||||
CODESLIST = ./codeslist
|
||||
|
||||
@ -75,6 +76,11 @@ fatfspermissiontest:
|
||||
cp -f $(FATFSPERMISSIONROMPARAM) $(ROMPARAM)
|
||||
$(CONFIG) $(ROMPARAM) $(CODESLIST) "FATFSPERMISSION"
|
||||
|
||||
#---- boottest テスト設定
|
||||
boottest:
|
||||
cp -f $(BOOTROMPARAM) $(ROMPARAM)
|
||||
$(CONFIG) $(ROMPARAM) $(CODESLIST) "BOOT"
|
||||
|
||||
#---- config
|
||||
config:
|
||||
$(CONFIG) $(ROMPARAM) $(CODESLIST) "DEFAULT"
|
||||
@ -175,6 +181,20 @@ MAKEROM_ROMROOT = ../../../systemMenu_RED/
|
||||
MAKEROM_ROMFILES = ./data/NTR_IPL_font_m.NFTR
|
||||
endif
|
||||
|
||||
ifeq ($(TEST_TYPE),BOOT)
|
||||
TARGET_FIRM = SYSTEMMENU
|
||||
BASEDIR = ../../HashCheckTemplate
|
||||
SUBDIRS = $(BASEDIR)
|
||||
SRCDIR = $(BASEDIR)/ARM9/src
|
||||
INCDIR = $(BASEDIR)/ARM9/src $(MISC_DIR)/include
|
||||
SRCS = main.c HashCheckTemplate.c $(MISC_DIR)/src/misc.c $(MISC_DIR)/src/cmn.c
|
||||
BANNERSRC := $(wildcard ../banner/shop/Cell/*.nce)
|
||||
INSTALL_DIR = $(BASEDIR)/test_roms
|
||||
USE_IPL_RED_LIB = TRUE
|
||||
MAKEROM_ROMROOT = ../../../systemMenu_RED/
|
||||
MAKEROM_ROMFILES = ./data/NTR_IPL_font_m.NFTR
|
||||
endif
|
||||
|
||||
BANNER = ./banner.bnr
|
||||
MAKEBANNER = $(TWL_TOOLSDIR)/bin/makebanner.TWL.exe
|
||||
BANNERCVTR = $(TWL_TOOLSDIR)/bin/bannercvtr.exe
|
||||
@ -197,6 +217,14 @@ include $(TWLSDK_ROOT)/build/buildtools/commondefs.gx.demolib
|
||||
endif
|
||||
include $(GAMECODE).param
|
||||
|
||||
# boottestの時だけARM7コンポーネントの指定
|
||||
# このあたりの指定が苦肉すぎるので妙案募集中
|
||||
ifeq ($(TEST_TYPE),BOOT)
|
||||
DEFAULT_COMP_ARM7 = racoon_hct
|
||||
DEFAULT_MAKEROM_ARM7_BASE = $(BASEDIR)/ARM7/bin/$(TWL_BUILDTYPE_ARM7)/$(DEFAULT_COMP_ARM7)
|
||||
DEFAULT_MAKEROM_ARM7 = $(DEFAULT_MAKEROM_ARM7_BASE).$(TWL_ELF_EXT)
|
||||
endif
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
do-build: $(TARGETS)
|
||||
|
||||
BIN
build/tests/TestMaker/config/romparam_forBoottest.yaml
Normal file
BIN
build/tests/TestMaker/config/romparam_forBoottest.yaml
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user