mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
・FatalErrorMakerのROMヘッダを正式なROMヘッダテンプレートを使用するよう変更。 git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2114 b08762b0-b915-fc4b-9d8c-17b2551a87ff
88 lines
2.8 KiB
Makefile
88 lines
2.8 KiB
Makefile
#/*---------------------------------------------------------------------------*
|
|
# Project: TwlIPL - tests - FatalErrorMaker
|
|
# File: makefile
|
|
#
|
|
# Copyright **** 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
|
|
TARGET_PLATFORM = TWL
|
|
TWL_ARCHGEN = LIMITED
|
|
TWL_NANDAPP = TRUE
|
|
|
|
SUBDIRS =
|
|
|
|
MEDIA = NAND
|
|
GAMECODE = 012A
|
|
TARGET_BIN = FatalErrorMaker.tad
|
|
BINDIR = ./bin/$(TWL_BUILDTYPE)/$(MEDIA)
|
|
|
|
MISC_DIR = ../../../systemMenu_RED/misc
|
|
|
|
SRCS = main.c fatalErrorMaker.c \
|
|
$(MISC_DIR)/src/misc.c \
|
|
$(MISC_DIR)/src/cmn.c
|
|
|
|
LINCLUDES += $(MISC_DIR)/include
|
|
|
|
ROM_SPEC = main.rsf
|
|
|
|
ROM_HEADER_TEMPLATE = $(SYSMENU_ROM_HEADER_DIR)/$(GAMECODE)/rom_header_$(call toLower,$(GAMECODE)).template.sbin
|
|
LIBSYSCALL = $(SYSMENU_ROM_HEADER_DIR)/$(GAMECODE)/libsyscall.a
|
|
|
|
SYSMENU_LIBS = \
|
|
liblcfg$(TWL_LIBSUFFIX).a \
|
|
libsysmenu$(TWL_LIBSUFFIX).a \
|
|
libsysmmcu$(TWL_LIBSUFFIX).a \
|
|
libsysmutil$(TWL_LIBSUFFIX).a \
|
|
libboot$(TWL_LIBSUFFIX).a \
|
|
libds$(TWL_LIBSUFFIX).a \
|
|
libhotsw$(TWL_LIBSUFFIX).a \
|
|
libdht$(TWL_LIBSUFFIX).a \
|
|
libreloc_info$(TWL_LIBSUFFIX).a \
|
|
libnamut$(TWL_LIBSUFFIX).a \
|
|
libsharedfont_launcher$(TWL_LIBSUFFIX).a \
|
|
WDS$(TWL_LIBSUFFIX).a
|
|
|
|
SDK_APPEND_LIBS = \
|
|
libes$(TWL_LIBSUFFIX).a \
|
|
libboc$(TWL_LIBSUFFIX).a \
|
|
libsfs$(TWL_LIBSUFFIX).a \
|
|
libnam$(TWL_LIBSUFFIX).a \
|
|
libsea$(TWL_LIBSUFFIX).a \
|
|
libreboot$(TWL_LIBSUFFIX).a \
|
|
libna$(TWL_LIBSUFFIX).a
|
|
|
|
LLIBRARIES += $(SYSMENU_LIBS) $(SDK_APPEND_LIBS)
|
|
MAKETAD_OPTION += -s
|
|
|
|
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
|
|
|
|
MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe
|
|
|
|
MAKEROM_FLAGS += -DFATALMAKER_GAMECODE=$(GAMECODE) \
|
|
-DFATALMAKER_MEDIA=$(MEDIA) \
|
|
-DROM_HEADER_TEMPLATE='$(call empath,$(ROM_HEADER_TEMPLATE))'
|
|
|
|
DEFAULT_MAKEROM_ARM7_BASE = $(TWL_COMPONENTSDIR)/armadillo/$(TWL_BUILDTYPE_ARM7)/armadillo
|
|
DEFAULT_MAKEROM_ARM7 = $(DEFAULT_MAKEROM_ARM7_BASE).$(TWL_ELF_EXT)
|
|
|
|
#----------------------------------------------------------------------------
|
|
do-build: $(TARGETS)
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules
|
|
|
|
|
|
#===== End of Makefile =====
|