TwlIPL/build/buildtools/commondefs
yutaka 27a87d8146 TwlIPL_private対応
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@735 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-02-25 06:22:27 +00:00

42 lines
1.3 KiB
Makefile

#! make -f
#----------------------------------------------------------------------------
# Project: TwlIPL - commondefs - common definitions for build system
# File: commondefs
#
# 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-09-06$
# $Rev$
# $Author$
#----------------------------------------------------------------------------
ifndef TWL_IPL_COMMONDEFS_
TWL_IPL_COMMONDEFS_ = TRUE
FIRM_USE_TWLSDK_KEYS = TRUE
ifeq ($(TARGET_FIRM),SYSTEMMENU)
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs.sysmenu
else
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs.firm
endif
ifdef FIRM_USE_TWLSDK_KEYS
MACRO_FLAGS += -DFIRM_USE_TWLSDK_KEYS=$(FIRM_USE_TWLSDK_KEYS)
endif
ifeq ($(TWL_IPL_RED_PRIVATE_ROOT),)
TWL_KEYSDIR := $(TWL_IPL_RED_ROOT)/keys/dummy
else
TWL_KEYSDIR := $(TWL_IPL_RED_PRIVATE_ROOT)/keys
endif
#----------------------------------------------------------------------------
endif # TWL_IPL_COMMONDEFS_
#----- End of commondefs -----