sbsv1/buildsystem/shell/generic.mk
author Zheng Shen <zheng.shen@nokia.com>
Tue, 17 Aug 2010 15:31:16 +0800
changeset 626 ac03b93ca9c4
parent 599 fa7a3cc6effd
permissions -rw-r--r--
ROM Tools 12.3.4 + RCOMP 8.4.2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
599
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     1
# Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     2
# All rights reserved.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     3
# This component and the accompanying materials are made available
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     4
# under the terms of "Eclipse Public License v1.0"
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     5
# which accompanies this distribution, and is available
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     6
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     7
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     8
# Initial Contributors:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     9
# Nokia Corporation - initial contribution.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    10
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    11
# Contributors:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    12
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    13
# Description:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    14
# Definitions common to all shells
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    15
# *_PATH variables to support filename policy conformance in makefile templates
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    16
# NOTE: These should all be replaced by calls to a function that lower-cases
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    17
# the current setting of the original variable
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    18
# 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    19
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    20
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    21
PLATFORM_PATH=$(PLATFORM)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    22
CFG_PATH=$(CFG)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    23
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    24
ifeq ($(PLATFORM_PATH),WINS) 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    25
	PLATFORM_PATH=wins
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    26
else
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    27
ifeq ($(PLATFORM_PATH),WINSCW) 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    28
	PLATFORM_PATH=winscw
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    29
else
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    30
ifeq ($(PLATFORM_PATH),ARMV5) 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    31
	PLATFORM_PATH=armv5
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    32
else
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    33
ifeq ($(PLATFORM_PATH),ARMV7) 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    34
	PLATFORM_PATH=armv7
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    35
else
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    36
ifeq ($(PLATFORM_PATH),TOOLS) 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    37
	PLATFORM_PATH=tools
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    38
else
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    39
ifeq ($(PLATFORM_PATH),TOOLS2) 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    40
	PLATFORM_PATH=tools2
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    41
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    42
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    43
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    44
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    45
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    46
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    47
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    48
ifeq ($(CFG_PATH),UREL) 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    49
	CFG_PATH=urel
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    50
else
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    51
ifeq ($(CFG_PATH),UDEB) 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    52
	CFG_PATH=udeb
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    53
else
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    54
ifeq ($(CFG_PATH),DEB) 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    55
	CFG_PATH=deb
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    56
else
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    57
ifeq ($(CFG_PATH),REL) 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    58
	CFG_PATH=rel
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    59
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    60
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    61
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    62
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    63