mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
INSTALL_DIR = $(TWLSDK_ROOT)/build/tools/TwlNMenu/data INSTALL_DIR = $(TWL_IPL_RED_ROOT)/tools/bin のあたり。 バナー生成時にデバッグ情報を表示しないよう修正。 git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@724 b08762b0-b915-fc4b-9d8c-17b2551a87ff
78 lines
2.2 KiB
Makefile
78 lines
2.2 KiB
Makefile
#! make -f
|
|
#----------------------------------------------------------------------------
|
|
# Project: TwlSDK - tests - camera-test
|
|
# 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$
|
|
#----------------------------------------------------------------------------
|
|
|
|
SUBDIRS =
|
|
|
|
|
|
#----------------------------------------------------------------------------
|
|
override TARGET_PLATFORM = TWL
|
|
override TWL_PROC = ARM7
|
|
TWL_ARCHGEN = LIMITED
|
|
TWL_NO_STD_PCHDR = True
|
|
#TWL_CODEGEN = THUMB
|
|
|
|
TARGET_TEF = main.tef
|
|
LCFILE_SPEC = main.lsf
|
|
LCFILE_TEMPLATE = racoon.lcf.template
|
|
LDRES_TEMPLATE = racoon.response.template
|
|
|
|
SRCS = main.c kami_pxi.c formatter.c nvram_misc.c
|
|
|
|
LINCLUDES = ../common/include $(ROOT)/build/libraries/spi/ARM7/include
|
|
|
|
|
|
#SRCDIR = # using default
|
|
#LCFILE = # using default
|
|
|
|
|
|
include $(TWLSDK_ROOT)/build/buildtools/commondefs
|
|
|
|
ifdef TWLSDK_NOCRYPTO
|
|
CCFLAGS += -DSDK_NOCRYPTO
|
|
endif
|
|
|
|
ifndef TWLSDK_NOCRYPTO
|
|
MAKELCF_FLAGS += -DUSE_CRYPTO_LIBS='libaes_sp$(TWL_LIBSUFFIX).a'
|
|
endif
|
|
|
|
ifeq ($(TWL_PLATFORM),BB)
|
|
MAKELCF_FLAGS += -DADDRESS_LTDWRAM='0x037e0000'
|
|
else
|
|
MAKELCF_FLAGS += -DADDRESS_LTDWRAM='0x037c0000'
|
|
endif
|
|
|
|
MAKELCF_FLAGS += -DISDBG_LIBS_TWL='$(if $(ISDBG_LIBS_TWL),$(ISDBG_LIBS_TWL),libstubsistd_sp$(TWL_LIBSUFFIX).a)' \
|
|
-DISDBG_LIBS_NITRO='libstubsisd_sp$(TWL_LIBSUFFIX).a'
|
|
|
|
TWL_LIBS_EX = libcamera_sp$(TWL_LIBSUFFIX).a \
|
|
libfatfs_sp$(TWL_LIBSUFFIX).a \
|
|
libi2c_sp$(TWL_LIBSUFFIX).a \
|
|
libcamera_sp$(TWL_LIBSUFFIX).a \
|
|
libcdc_sp$(TWL_LIBSUFFIX).a \
|
|
libtpex_sp$(TWL_LIBSUFFIX).a
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
do-build: $(TARGETS)
|
|
|
|
|
|
include $(TWLSDK_ROOT)/build/buildtools/modulerules
|
|
|
|
|
|
#===== End of Makefile =====
|