mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
(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
53 lines
1.6 KiB
Makefile
53 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:: $
|
|
# $Rev$
|
|
# $Author$
|
|
#----------------------------------------------------------------------------
|
|
|
|
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
|
|
|
|
# Avoid to build HYBRID version object
|
|
override TWL_ARCHGEN = LIMITED
|
|
|
|
SRCDIR = src
|
|
INCDIR = ../common/include
|
|
|
|
SRCS = crt0_hct.LTD.c
|
|
TARGET_OBJ = crt0_hct.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 =====
|