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@2748 b08762b0-b915-fc4b-9d8c-17b2551a87ff
73 lines
2.2 KiB
Makefile
73 lines
2.2 KiB
Makefile
#! make -f
|
|
#----------------------------------------------------------------------------
|
|
# Project: TwlSDK - demos.TWL - nandApp - ExecTmpApp
|
|
# File: Makefile
|
|
#
|
|
# Copyright 2007-2008 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$
|
|
#----------------------------------------------------------------------------
|
|
|
|
MISC_DIR = $(ROOT)/build/demos.TWL/nandApp/launcher_param/misc
|
|
DATA_DIR = $(ROOT)/build/demos.TWL/nandApp/launcher_param/data
|
|
|
|
SUBDIRS = banner2
|
|
|
|
#-------------------------
|
|
#-- NAND アプリのビルドを指定します。
|
|
|
|
TWL_NANDAPP = TRUE
|
|
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
TARGET_PLATFORM = TWL
|
|
override TWL_ARCHGEN = LIMITED
|
|
|
|
LINCLUDES = $(MISC_DIR) \
|
|
$(DATA_DIR)
|
|
|
|
SRCS = main.c ExecTmpApp.c \
|
|
$(MISC_DIR)/misc_simple.c \
|
|
$(DATA_DIR)/data.c
|
|
|
|
TARGET_BIN = ExecTmpCardRomHeaderChecker.tad
|
|
|
|
|
|
#-------------------------
|
|
#-- NAND アプリではいくつかのパラメータの指定のために固有の RSF ファイルが必要です。
|
|
|
|
ROM_SPEC = demo.autogen.ltd.rsf
|
|
ROM_SPEC_TEMPLATE = $(ROOT)/include/twl/specfiles/ROM-TS_nand.rsf
|
|
ROM_SPEC_PARAM = MakerCode=01 \
|
|
InitialCode=0CWA \
|
|
BannerFile="banner2/banner.bnr" \
|
|
RomHeaderTemplate="../common/0CWA/rom_header_0cwa.template.sbin"
|
|
|
|
MAKEROM_ROMROOT = ./../Nand/bin/$(TWL_BUILDTYPE_ARM9)
|
|
MAKEROM_ROMFILES = CardRomHeaderChecker.nand.srl
|
|
|
|
include $(TWLSDK_ROOT)/build/buildtools/commondefs
|
|
include $(TWLSDK_ROOT)/build/buildtools/commondefs.gx.demolib
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
do-build : $(TARGETS)
|
|
|
|
|
|
LIBSYSCALL = ../common/0CWA/libsyscall.a
|
|
|
|
include $(TWLSDK_ROOT)/build/buildtools/modulerules
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
#===== End of Makefile =====
|