TwlIPL/build/norfirm/norfirm-print/Makefile
yutaka f210f9d31a 最新のTwlSDKに合わせた
重複していた定義の削除とfrom_brom.hでのsdmc.hの参照停止
FinalROM版でのmakerom.TWLのエラー防止


git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@35 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2007-10-01 05:02:10 +00:00

61 lines
1.8 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 = FIRM
# if you have no valid key, comment out next line
#TWL_KEYSDIR = $(FIRM_ROOT)/../twl_firmware/bootrom/build/keys
#----------------------------------------------------------------------------
SUBDIRS = \
ARM7 \
ARM9 \
wram_regs \
TARGET_FIRM_BIN = norfirm_print.nor norfirm_print.srl
BINDIR = .
MAKEFIRM_ARM9 = ARM9/bin/ARM9-$(FIRM_PLATFORM)$(CODEGEN_ARCH)/$(FIRM_BUILD_DIR)/twl_norfirm9_print.tef
MAKEFIRM_ARM7 = ARM7/bin/ARM7-$(FIRM_PLATFORM)$(CODEGEN_ARCH)/$(FIRM_BUILD_DIR)/twl_norfirm7_print.tef
MAKEFIRM_RSA_PRVKEY = $(TWL_KEYSDIR)/rsa/private_nor.der
LDEPENDS_BIN += wram_regs/wram_regs.rbin
MAKEROM_ARM7_BASE = $(basename $(MAKEFIRM_ARM7))
MAKEROM_FLAGS += -F
NITRO_MAKEROM = TRUE
MAKEFIRM_FLAGS += -p
FIRM_SPEC = norfirm-BB.norsf
LDIRT_CLEAN += $(TARGETS) \
$(basename $(firstword $(TARGETS))).tlf \
rsa_public.sbin \
include $(TWLFIRM_ROOT)/build/buildtools/commondefs
#----------------------------------------------------------------------------
do-build: $(TARGET_BIN)
include $(TWLFIRM_ROOT)/build/buildtools/modulerules
#===== End of Makefile =====