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
54 lines
1.6 KiB
Makefile
54 lines
1.6 KiB
Makefile
#! make -f
|
|
#----------------------------------------------------------------------------
|
|
# Project: TwlSDK - libraries - init - ARM9.TWL
|
|
# File: Makefile.FLX
|
|
#
|
|
# 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 main processer
|
|
override TWL_PROC = ARM9
|
|
|
|
# Avoid to build THUMB version object
|
|
override TARGET_CODEGEN = ARM
|
|
|
|
# Avoid to build LIMITED version object
|
|
override TWL_ARCHGEN = HYBRID
|
|
|
|
# Avoid to use pre-compile-header of "nitro.h"
|
|
TWL_NO_STD_PCHDR = True
|
|
|
|
# build ARM & THUMB libraries
|
|
TARGET_CODEGEN ?= ALL
|
|
|
|
SRCDIR = ../common/src src
|
|
INCDIR = ../common/include
|
|
|
|
SRCS = crt0_rc.FLX.c
|
|
TARGET_OBJ = crt0_rc.FLX.TWL.o
|
|
|
|
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 =====
|