#! make -f
#----------------------------------------------------------------------------
# Project:  TwlSDK - demos.TWL - sea - crypt-secret-data
# 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:: 2008-05-23#$
# $Rev: 6226 $
# $Author: hatamoto_minoru $
#----------------------------------------------------------------------------

SUBDIRS		=


#------------------------------------------------
# settings for use SEA library

LLIBRARIES			+=	libsea$(TWL_LIBSUFFIX).a

COMPONENT_NAME		=	armadillo
MAKEROM_ARM7_BASE   =	$(TWL_COMPONENTSDIR)/$(COMPONENT_NAME)/$(TWL_BUILDTYPE_ARM7)/$(COMPONENT_NAME)
MAKEROM_ARM7        =	$(MAKEROM_ARM7_BASE).$(TWL_ELF_EXT)

TWL_ARCHGEN			=	LIMITED


#-------------------------
# use custom RSF

ROM_SPEC			=	demo.autogen.rsf
ROM_SPEC_TEMPLATE	=	$(ROOT)/include/twl/specfiles/ROM-TS_sys.rsf
ROM_SPEC_PARAM		=	WramMapping=MAP_TS_SCR		\
						HwAESSlotB=TRUE				\
						NANDAccess=TRUE				\
						Secure=TRUE					\


#----------------------------------------------------------------------------
TARGET_PLATFORM		:= TWL

SRCS		=	main.c
TARGET_BIN	=	main.srl

include	$(TWLSDK_ROOT)/build/buildtools/commondefs

MAKEROM			 	:=	$(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe

#----------------------------------------------------------------------------

do-build:		$(TARGETS)

include	$(TWLSDK_ROOT)/build/buildtools/modulerules


#===== End of Makefile =====
