From d2cc2d32fba3af22336a671c561db34b5311f4d9 Mon Sep 17 00:00:00 2001 From: yosiokat Date: Mon, 8 Sep 2008 13:59:59 +0000 Subject: [PATCH] =?UTF-8?q?nandfirm=E3=81=AEmenu-launcher=E3=83=93?= =?UTF-8?q?=E3=83=AB=E3=83=89=E6=99=82=E3=81=ABdev=E3=83=93=E3=83=AB?= =?UTF-8?q?=E3=83=89=E3=81=8Bprod=E3=83=93=E3=83=AB=E3=83=89=E3=81=8B?= =?UTF-8?q?=E3=82=92=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E5=90=8D=E3=81=AB?= =?UTF-8?q?=E4=BB=98=E5=8A=A0=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E5=A4=89?= =?UTF-8?q?=E6=9B=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2447 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/nandfirm/menu-launcher/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build/nandfirm/menu-launcher/Makefile b/build/nandfirm/menu-launcher/Makefile index 3a1adbbc..c60ba9a2 100644 --- a/build/nandfirm/menu-launcher/Makefile +++ b/build/nandfirm/menu-launcher/Makefile @@ -24,7 +24,7 @@ SUBDIRS = \ ARM7 \ ARM9 \ -TARGET_FIRM_BIN = menu_launcher-$(TWL_BUILD_TYPE)$(CODEGEN_ARCH)-$(IPL_REVISION)-$(SDK_REVISION).nand +TARGET_FIRM_BIN = menu_launcher-$(TWL_BUILD_TYPE)$(CODEGEN_ARCH)-$(IPL_REVISION)-$(SDK_REVISION).$(FIRM_MODE).nand BINDIR = . MAKEFIRM_ARM9 = ARM9/bin/$(TWL_BUILDTYPE_ARM9)/menu_launcher9.tef MAKEFIRM_ARM7 = ARM7/bin/$(TWL_BUILDTYPE_ARM7)/menu_launcher7.tef @@ -41,6 +41,12 @@ LDIRT_CLEAN += $(wildcard *.nand) \ include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs +ifeq ($(FIRM_USE_PRODUCT_KEYS),TRUE) +FIRM_MODE = prod +else +FIRM_MODE = dev +endif + IPL_REVISION := $(shell LANG=C svn info $(call empath,$(FIRM_ROOT)) | grep 'Revision' | sed s/[^0-9]//g) SDK_REVISION := $(shell LANG=C svn info $(call empath,$(ROOT)) | grep 'Revision' | sed s/[^0-9]//g)