mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
・可変長データを埋め込めるよう、なんとか対応 ・バージョン以外のデータもいろいろ追加 ・インポートし、ランチャーでの取得まで確認(署名検証処理は未実装) git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1692 b08762b0-b915-fc4b-9d8c-17b2551a87ff
64 lines
1.8 KiB
Makefile
64 lines
1.8 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:
|
|
#----------------------------------------------------------------------------
|
|
|
|
# バージョンファイルとTADを生成する
|
|
# WL_IPL_RED_PRIVATE_ROOTが設定されていない場合は
|
|
# 既存のバージョンファイルからTADのみ生成する
|
|
|
|
TARGET_FIRM = SYSTEMMENU
|
|
|
|
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
|
|
|
|
VER_TIMESTAMP = 08062300
|
|
|
|
MAJOR_VERSION = 0
|
|
MINOR_VERSION = 1
|
|
USER_AREA_SIZE = 16
|
|
|
|
VERSION_FILE = SysmenuVersion.dat
|
|
|
|
GEN_VERSION_FILE = $(SYSMENU_TOOLSDIR)/bin/genVersion.plx
|
|
|
|
VERSION_MAKETAD_OPTION += -s -d 0003000F484E5641 3031 0 SYSM_VERSION -v 0 -p
|
|
|
|
VERSION_TAD = HNVA.tad
|
|
|
|
ifneq ($(TWL_IPL_RED_PRIVATE_ROOT),)
|
|
VERSION_DAT = $(VERSION_FILE)
|
|
endif
|
|
|
|
TARGETS += $(VERSION_TAD)
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
LDIRT_CLEAN = $(VERSION_DAT) $(VERSION_TAD) properties
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules
|
|
|
|
do-build : $(VERSION_TAD)
|
|
|
|
$(VERSION_DAT):
|
|
$(GEN_VERSION_FILE) $(VER_TIMESTAMP) $(MAJOR_VERSION) $(MINOR_VERSION) $(USER_AREA_SIZE)
|
|
|
|
$(VERSION_TAD) : $(VERSION_FILE)
|
|
$(MAKETAD) $(call empath,$<) $(VERSION_MAKETAD_OPTION) -o $@
|
|
|
|
#===== End of Makefile =====
|