SystemUpdaterのバージョンチェックを無視するビルドスイッチを追加。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1268 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
yosiokat 2008-04-25 04:59:19 +00:00
parent ff8443c7ab
commit 2277d7dcea
2 changed files with 13 additions and 1 deletions

View File

@ -21,6 +21,10 @@
#USE_PRODUCT_KEY = TRUE
#============================================================================
# COMPILE SWITCH for build SystemUpdater
IGNORE_VERSION_CHECK ?= FALSE
# MAKEROM SWITCH for build SystemUpdater
DISABLE_DEBUG ?= TRUE
TARGET_FIRM = SYSTEMMENU
@ -74,6 +78,11 @@ MAKEROM_FLAGS += -DHWINFO_PRIVKEY='private_HWInfo_dev.der'
endif
endif
ifeq ($(IGNORE_VERSION_CHECK),TRUE)
MACRO_FLAGS += -DIGNORE_VERSION_CHECK
endif
MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' \
-DPRIVKEY_PATH='$(TWL_KEYSDIR)/rsa' \
-DCARD_REGION='$(CARD_REGION)' \

View File

@ -126,6 +126,9 @@ TwlMain()
}
// ログが存在するならシステム更新済みと判定
#ifdef IGNORE_VERSION_CHECK
if( 0 )
#endif // IGNORE_VERSION_CHECK
{
FSFile file;
FS_InitFile( &file );