TwlIPL/build/systemMenu_tools/SystemUpdater/data/Makefile
kamikawa 5e02b1d3ae (NandInitializer/SystemUpdater) フォントデータの名称変更に対応
ソース整理

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2438 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-09-08 08:29:41 +00:00

83 lines
2.9 KiB
Makefile

#! 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
TWL_ARCHGEN = LIMITED
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
include $(SYSMENU_ROOT)/build/systemMenu_RED/wlanfirm/commondefs.wlanfirm
include $(SYSMENU_ROOT)/build/systemMenu_RED/DSHashTable/commondefs.DSHashTable
include $(SYSMENU_ROOT)/build/systemMenu_RED/sysmenuVersion/commondefs.sysmenuVersion
include $(SYSMENU_ROOT)/build/systemMenu_RED/sysmenuVersion/defs.sysmenuVersion.A
# SystemUpdaterでインポートするTADは専用のmaketadでTAD化します。
MAKETAD := $(TWL_IPL_RED_PRIVATE_TOOLSDIR)/bin/maketad.updater.exe
MAKETAD_OPTION += -s
#----------------------------------------------------------------------------
LDIRT_CLEAN = HNAA.tad \
HNBA.tad \
HNCA.tad \
HNHA.tad \
HNLA.tad \
menu_launcher.nand \
TWLFontTable.dat \
properties
#----------------------------------------------------------------------------
IPL_REVISION := $(shell LANG=C svn info $(call empath,$(FIRM_ROOT)) | grep 'Revision' | sed s/[^0-9]//g)
SDK_REVISION := $(shell LANG=C svn info $(call empath,$(ROOT)) | grep 'Revision' | sed s/[^0-9]//g)
include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules
do-build : HNAA.tad \
HNBA.tad \
HNCA.tad \
HNHA.tad \
HNLA.tad \
menu_launcher.nand \
TWLFontTable.dat
# maketad.updaterで作られたTADが他のフォルダに残らないように、ここでTAD化処理する。
HNAA.tad: ../../../systemMenu_RED/Launcher/ARM9/bin/$(TWL_BUILDARCH_ARM9)/$(TWL_BUILD_DIR)/HNAA.nand.srl
$(MAKETAD) $< $(MAKETAD_OPTION) -o $@
HNBA.tad: ../../../systemMenu_RED/MachineSettings/ARM9/bin/$(TWL_BUILDARCH_ARM9)/$(TWL_BUILD_DIR)/HNBA.nand.srl
$(MAKETAD) $< $(MAKETAD_OPTION) -o $@
HNCA.tad: $(MY_WLANFIRM)
$(MAKETAD) $(call empath,$<) $(WLANFIRM_MAKETAD_OPTION) -o $@
HNHA.tad: $(DS_HASH_TABLE_DATA)
$(MAKETAD) $(call empath,$<) $(DS_HASH_TABLE_MAKETAD_OPTION) -o $@
HNLA.tad: $(SYSMENU_VERSION_DIR)/$(SYSMENU_VERSION_FILE)
$(MAKETAD) $(call empath,$<) $(SYSMENU_VERSION_MAKETAD_OPTION) -o $@
menu_launcher.nand: ../../../nandfirm/menu-launcher/menu_launcher-$(TWL_BUILD_TYPE)-$(IPL_REVISION)-$(SDK_REVISION).nand
cp $< ./$@
TWLFontTable.dat: ../../../systemMenu_RED/sharedFont/TWLFontTable_????????.dat
cp $< ./$@
#===== End of Makefile =====