SystemUpdaterがインポートする特別なTADファイルを生成するようMakeを変更。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1226 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
kamikawa 2008-04-22 12:39:20 +00:00
parent 670a75721d
commit 4dae326ea3
8 changed files with 85 additions and 35 deletions

View File

@ -16,37 +16,6 @@
# $Author$
#----------------------------------------------------------------------------
SUBDIRS = $(LAUNCHER_DIR) \
$(MACHINESETTINGS_DIR) \
$(WLANFIRM_DIR)
#----------------------------------------------------------------------------
#============================================================================
LAUNCHER_DIR = ../../Launcher
MACHINESETTINGS_DIR = ../../MachineSettings
WLANFIRM_DIR = ../../wlanfirm
# COMPILE SWITCH<43>@for build SystemMenu
export UPDATER_RELEASE = TRUE
export DO_NOT_SHOW_LAUNCHER = TRUE
export DISABLE_WDS_SCAN = TRUE
export DISABLE_WLFIRM_LOAD = FALSE
export DISABLE_SLEEP = TRUE
export LOAD_APP_VIA_WRAM = FALSE
# MAKEROM SWITCH for build SystemMenu
export DISABLE_DEBUG = TRUE
export ENABLE_AES = TRUE
#============================================================================
#============================================================================
#現時点で製品鍵を使った書き込みが行えてはダメなので、デフォルトOFFにしておいてください。
#USE_PRODUCT_KEY = TRUE

View File

@ -33,9 +33,9 @@
static const char* ImportTadFileList[] =
{
"rom:/data/HNAA.Release.updater.tad",
"rom:/data/HNBA.Release.updater.tad",
"rom:/data/HNCA.updater.tad"
"rom:/data/HNAA.tad",
"rom:/data/HNBA.tad",
"rom:/data/HNCA.tad"
};
static const char* NandFirmPath = "rom:/data/menu_launcher-RELEASE.nand";

View File

@ -21,9 +21,33 @@ include $(TWLSDK_ROOT)/build/buildtools/commondefs
#----------------------------------------------------------------------------
SUBDIRS = ARM7.TWL \
LAUNCHER_DIR = ../Launcher
MACHINESETTINGS_DIR = ../MachineSettings
WLANFIRM_DIR = ../wlanfirm
NANDFIRM_DIR = ../../nandfirm/menu-launcher
SUBDIRS = $(LAUNCHER_DIR) \
$(MACHINESETTINGS_DIR) \
$(WLANFIRM_DIR) \
$(NANDFIRM_DIR) \
data \
ARM7.TWL \
ARM9.TWL
# COMPILE SWITCH for build SystemMenu
export UPDATER_RELEASE = TRUE
export DO_NOT_SHOW_LAUNCHER = TRUE
export DISABLE_WDS_SCAN = TRUE
export DISABLE_WLFIRM_LOAD = FALSE
export DISABLE_SLEEP = TRUE
export LOAD_APP_VIA_WRAM = FALSE
# MAKEROM SWITCH for build SystemMenu
export DISABLE_DEBUG = TRUE
export ENABLE_AES = TRUE
#----------------------------------------------------------------------------
include $(TWLSDK_ROOT)/build/buildtools/modulerules

View File

@ -0,0 +1,57 @@
#! make -f
#----------------------------------------------------------------------------
# Project: TwlIPL
# File: Makefile -
#
# Copyright 2007 Nintendo. All rights reserved.
#
# These coded instructions, statements, and computer programs contain
# proprietary information of Nintendo of America Inc. and/or Nintendo
# Company Ltd., and are protected by Federal copyright law. They may
# not be disclosed to third parties or copied or duplicated in any form,
# in whole or in part, without the prior written consent of Nintendo.
#
# $Date::
# $Rev:
# $Author:
#----------------------------------------------------------------------------
TARGET_FIRM = SYSTEMMENU
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
#----------------------------------------------------------------------------
MAKETAD = $(SYSMENU_TOOLSDIR)/bin/maketad.updater.exe
#INSTALL_TARGETS = HNCA.tad
#INSTALL_DIR = $(ROOT)/build/tools/TwlNMenu/data
LDIRT_CLEAN = HNAA.tad \
HNBA.tad \
HNCA.tad \
menu_launcher-RELEASE.nand
#----------------------------------------------------------------------------
include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules
do-build : HNAA.tad \
HNBA.tad \
HNCA.tad \
menu_launcher-RELEASE.nand
HNAA.tad: ../../Launcher/ARM9/bin/ARM9-TS.LTD/$(TWL_BUILD_DIR)/main.srl
$(MAKETAD) -s $< $(MAKETAD_FLAGS) -o $@
HNBA.tad: ../../MachineSettings/ARM9/bin/ARM9-TS.LTD/$(TWL_BUILD_DIR)/main.srl
$(MAKETAD) -s $< $(MAKETAD_FLAGS) -o $@
HNCA.tad: ../../wlanfirm/HNCA.srl
$(MAKETAD) -s $< $(MAKETAD_FLAGS) -o $@
menu_launcher-RELEASE.nand: ../../../nandfirm/menu-launcher/menu_launcher-RELEASE.nand
cp $< .
#===== End of Makefile =====