TwlIPL/build/nandfirm/nandfirm-print/Makefile
yosiokat 9b005c95e6 ・nandfirm-printfを追加
・nandfirmとnorfirmが両方うまくビルドできるようにbuildtoolsなどを調整。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@10 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2007-09-06 12:00:50 +00:00

52 lines
1.7 KiB
Makefile

#! make -f
#----------------------------------------------------------------------------
# Project: TwlFirm - build
# 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:$
#----------------------------------------------------------------------------
FIRM_TARGET = NORFIRM
include $(TWLFIRM_ROOT)/build/buildtools/commondefs
#----------------------------------------------------------------------------
SUBDIRS = ../../norfirm/norfirm-print
TARGET_FIRM_BIN = nandfirm_print.nand
BINDIR = .
MAKEFIRM_ARM9 = ../../norfirm/norfirm-print/ARM9/bin/ARM9-$(FIRM_PLATFORM)$(CODEGEN_ARCH)/$(FIRM_BUILD_DIR)/twl_norfirm9_print.axf
MAKEFIRM_ARM7 = ../../norfirm/norfirm-print/ARM7/bin/ARM7-$(FIRM_PLATFORM)$(CODEGEN_ARCH)/$(FIRM_BUILD_DIR)/twl_norfirm7_print.axf
MAKEFIRM_RSA_PRVKEY = $(TWL_KEYSDIR)/rsa/private_nand.der
LDEPENDS_BIN += ../../norfirm/norfirm-print/wram_regs/wram_regs.rbin
NITRO_MAKEROM = TRUE
MAKEFIRM_FLAGS += -p
FIRM_SPEC = nandfirm-BB.nandsf
LDIRT_CLEAN += $(BINDIR)/$(TARGET_BIN) \
rsa_public.sbin \
#----------------------------------------------------------------------------
do-build: $(TARGET_BIN)
include $(TWLFIRM_ROOT)/build/buildtools/modulerules
#===== End of Makefile =====