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@736 b08762b0-b915-fc4b-9d8c-17b2551a87ff
53 lines
1.7 KiB
Makefile
53 lines
1.7 KiB
Makefile
#! make -f
|
|
#----------------------------------------------------------------------------
|
|
# Project: TwlIPL
|
|
# 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:
|
|
#----------------------------------------------------------------------------
|
|
|
|
TARGET_FIRM = SYSTEMMENU
|
|
|
|
override TARGET_PLATFORM := TWL
|
|
override TARGET_CODEGEN := ARM
|
|
override TWL_ARCHGEN := LIMITED
|
|
|
|
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
|
|
MY_FIRM_ROOT = $(TWLWIRELESS_ROOT)/binfile
|
|
MY_FIRM_ROOT_CYG = $(call eupath,$(MY_FIRM_ROOT))
|
|
MY_TITLE = WFW1
|
|
MY_FIRM = $(MY_FIRM_ROOT_CYG)/nwm_firm.bin
|
|
#----------------------------------------------------------------------------
|
|
MY_SRL = $(MY_TITLE).srl
|
|
MY_TAD = $(MY_TITLE).tad
|
|
ATTACH_HEADER_COMMAND = $(SYSMENU_TOOLSDIR)/bin/attach_dummyromheader.exe
|
|
|
|
INSTALL_TARGETS = $(MY_TAD)
|
|
INSTALL_DIR = $(ROOT)/build/tools/TwlNMenu/data
|
|
|
|
LDIRT_CLEAN = $(MY_SRL) $(MY_TAD)
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules
|
|
|
|
do-build : $(MY_TAD)
|
|
|
|
$(MY_SRL): $(MY_FIRM)
|
|
$(ATTACH_HEADER_COMMAND) -s -l -i $(call empath,$<) -c $(MY_TITLE) -o $@
|
|
|
|
$(MY_TAD): $(MY_SRL)
|
|
$(MAKETAD) -s $< $(MAKETAD_FLAGS) -o $@
|
|
|
|
#===== End of Makefile =====
|