mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
commondefs, modulerules変更。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@76 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
174b4ae3a1
commit
35b24e4ec7
30
build/buildtools/commondefs
Normal file
30
build/buildtools/commondefs
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
#! 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
|
||||||
|
|
||||||
|
|
||||||
|
ifeq ($(TARGET_FIRM),SYSTEMMENU)
|
||||||
|
include commondefs.sysmenu
|
||||||
|
else
|
||||||
|
include commondefs.firm
|
||||||
|
endif
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------------
|
||||||
|
endif # TWL_IPL_COMMONDEFS_
|
||||||
|
#----- End of commondefs -----
|
||||||
@ -104,7 +104,7 @@ TWL_BUILD_DIR ?= $(FIRM_BUILD_DIR)
|
|||||||
# TWL-FIRM path settings
|
# TWL-FIRM path settings
|
||||||
#
|
#
|
||||||
|
|
||||||
FIRM_ROOT := $(subst $(SPACE),\ ,$(subst \,/,$(TWLFIRM_ROOT)))
|
FIRM_ROOT := $(subst $(SPACE),\ ,$(subst \,/,$(TWLIPL_ROOT)))
|
||||||
FIRM_BUILDTOOLSDIR := $(FIRM_ROOT)/build/buildtools
|
FIRM_BUILDTOOLSDIR := $(FIRM_ROOT)/build/buildtools
|
||||||
FIRM_BUILDSETUPDIR := $(FIRM_ROOT)/build/buildsetup
|
FIRM_BUILDSETUPDIR := $(FIRM_ROOT)/build/buildsetup
|
||||||
FIRM_INCDIR := $(FIRM_ROOT)/include
|
FIRM_INCDIR := $(FIRM_ROOT)/include
|
||||||
@ -230,7 +230,7 @@ GLIBRARIES := $(FIRM_LIBS) $(GLIBRARIES)
|
|||||||
ifdef TWLFIRM_INSTALL_ROOT
|
ifdef TWLFIRM_INSTALL_ROOT
|
||||||
TWLFIRM_INSTALL_ROOT_ := $(TWLFIRM_INSTALL_ROOT)
|
TWLFIRM_INSTALL_ROOT_ := $(TWLFIRM_INSTALL_ROOT)
|
||||||
else
|
else
|
||||||
TWLFIRM_INSTALL_ROOT_ := $(TWLFIRM_ROOT)
|
TWLFIRM_INSTALL_ROOT_ := $(TWLIPL_ROOT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
FIRM_INSTALL_ROOT := $(subst $(SPACE),\ ,$(subst \,/,$(TWLFIRM_INSTALL_ROOT_)))
|
FIRM_INSTALL_ROOT := $(subst $(SPACE),\ ,$(subst \,/,$(TWLFIRM_INSTALL_ROOT_)))
|
||||||
|
|||||||
34
build/buildtools/modulerules
Normal file
34
build/buildtools/modulerules
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
#! make -f
|
||||||
|
#----------------------------------------------------------------------------
|
||||||
|
# Project: TwlIPL - modulerules - common rules for build system
|
||||||
|
# File: modulerules
|
||||||
|
#
|
||||||
|
# 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_MODULERULES_
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------------
|
||||||
|
### TWL-modulerules
|
||||||
|
#
|
||||||
|
|
||||||
|
ifeq ($(TARGET_FIRM),SYSTEMMENU)
|
||||||
|
include modulerules.sysmenu
|
||||||
|
else
|
||||||
|
include modulerules.firm
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------------
|
||||||
|
TWL_IPL_MODULERULES_ = TRUE
|
||||||
|
endif # TWL_IPL_MODULERULES_
|
||||||
|
#----- End of modulerules -----
|
||||||
Loading…
Reference in New Issue
Block a user