TwlIPL/build/tests/RelocateChecker/crt/ARM7/Makefile.LTD
yosiokat bb1732d800 ・デフォルトでREDランチャー、RED本体設定、NandInitializerなどのARM9側をTHUMBにするよう変更。
(nandfirmなどのファーム系はARM9もARMのまま)
・ビルドオプションの整理。問題がないところは、基本TARGET_CODEGENを使用するよう変更。
・NitroSystemをLTD,HYB両方でARM,THUMBビルドするよう変更。


git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2167 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-08-15 12:09:14 +00:00

52 lines
1.6 KiB
Makefile

#! make -f
#----------------------------------------------------------------------------
# Project: TwlSDK - libraries - init - ARM7.TWL
# File: Makefile.LTD
#
# 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:: 2007-11-16#$
# $Rev: 2423 $
# $Author: hatamoto_minoru $
#----------------------------------------------------------------------------
override TARGET_PLATFORM = TWL
# Codegen for sub processer
override TWL_PROC = ARM7
# Avoid to use pre-compile-header of "nitro.h"
TWL_NO_STD_PCHDR = True
# Avoid to build THUMB version object
override TARGET_CODEGEN = ARM
override TWL_ARCHGEN = LIMITED
SRCDIR = ../common/src src
INCDIR = ../common/include
SRCS = crt0_rc.LTD.c
TARGET_OBJ = crt0_rc.LTD.TWL.o
MACRO_FLAGS += -DSDK_NOINIT
include $(TWLSDK_ROOT)/build/buildtools/commondefs
#----------------------------------------------------------------------------
include $(TWLSDK_ROOT)/build/buildtools/modulerules
#----------------------------------------------------------------------------
do-build: $(TARGETS)
$(OBJDIR)/$(TARGET_OBJ): $(OBJDIR)/$(SRCS:.c=.o)
$(CP) $< $@
#===== End of Makefile =====