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