TwlIPL/build/libraries_sysmenu/sysmenu/ARM9/Makefile
yoshida_teruhisa b93e15429f アプリロード関係の変更
・ビルドスイッチでアプリロード時のアルゴリズムを切り替えられるよう変更
  (LOAD_APP_VIA_PRIMAL_FS定義で普通のReadを使用)
 ・WRAM経由READでWRAMCの後半を使うように変更

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1170 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-04-17 06:08:43 +00:00

97 lines
2.7 KiB
Makefile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#! 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$
#----------------------------------------------------------------------------
SUBDIRS =
MYSUBDIRS = ./
#----------------------------------------------------------------------------
TARGET_FIRM = SYSTEMMENU
TARGET_PLATFORM = TWL
TWL_ARCHGEN = LIMITED
TWL_PROC = ARM9
REVISION_SRC = src/revision.c
SRCDIR = src
SRCS = sysmenu_lib.c \
util.c \
ninLogoFunc.c \
device.c \
keys.c \
title.c \
banner.c \
fs_wram.c \
../common/src/status.c \
../common/src/pxi.c \
../common/src/mountInfo.c \
../common/src/decodeAES.c \
$(REVISION_SRC)
TARGET_LIB = libsysmenu$(TWL_LIBSUFFIX).a
ifdef DO_NOT_SHOW_LAUNCHER
MACRO_FLAGS += -DDO_NOT_SHOW_LAUNCHER
endif
ifndef LOAD_APP_VIA_PRIMAL_FS
MACRO_FLAGS += -DLOAD_APP_VIA_WRAM
endif
ifneq ($(DHT_TEST),)
MACRO_FLAGS += -DDHT_TEST
endif
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
INSTALL_TARGETS = $(TARGETS)
INSTALL_DIR = $(SYSMENU_INSTALL_LIBDIR)
LINCLUDES = $(ROOT)/build/libraries/mb/common/include \
$(ROOT)/build/libraries/spi/ARM9/include \
$(SYSMENU_ROOT)/build/libraries_sysmenu/sysmenu/common/include
LDIRT_CLEAN = $(REVISION_SRC)
#----------------------------------------------------------------------------
do-build: $(REVISION_SRC) $(MYSUBDIRS) $(TARGETS)
include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules
#SVNƒŠƒrƒWƒ‡ƒ“ß<E2809A>žÝ
$(REVISION_SRC) ::
@if test -e $(SYSMENU_ROOT)/.svn; then \
LANG=C svn info $(call empath,$(SYSMENU_ROOT)) | grep 'Revision' | sed "s|Revision: \(.*\)|const char *g_strIPLSvnRevision = \"\1\";|" > $(REVISION_SRC); \
else \
echo "const char *g_strIPLSvnRevision = \"-\";" > $(REVISION_SRC); \
fi
@if test -e $(ROOT)/.svn; then \
LANG=C svn info $(call empath,$(ROOT)) | grep 'Revision' | sed "s|Revision: \(.*\)|const char *g_strSDKSvnRevision = \"\1\";|" >> $(REVISION_SRC); \
else \
echo "const char *g_strSDKSvnRevision = \"-\";" >> $(REVISION_SRC); \
fi
$(MYSUBDIRS)::
# $(MAKE) -C $@ -f MakeCrt0
#===== End of Makefile =====