toolsandutils/buildsystem/shell/generic.mk
changeset 0 83f4b4db085c
child 1 d4b442d23379
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 # Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 # All rights reserved.
       
     3 # This component and the accompanying materials are made available
       
     4 # under the terms of "Eclipse Public License v1.0"
       
     5 # which accompanies this distribution, and is available
       
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 #
       
     8 # Initial Contributors:
       
     9 # Nokia Corporation - initial contribution.
       
    10 #
       
    11 # Contributors:
       
    12 #
       
    13 # Description:
       
    14 # Definitions common to all shells
       
    15 # *_PATH variables to support filename policy conformance in makefile templates
       
    16 # NOTE: These should all be replaced by calls to a function that lower-cases
       
    17 # the current setting of the original variable
       
    18 # 
       
    19 #
       
    20 
       
    21 PLATFORM_PATH=$(PLATFORM)
       
    22 CFG_PATH=$(CFG)
       
    23 
       
    24 ifeq ($(PLATFORM_PATH),WINS) 
       
    25 	PLATFORM_PATH=wins
       
    26 else
       
    27 ifeq ($(PLATFORM_PATH),WINSCW) 
       
    28 	PLATFORM_PATH=winscw
       
    29 else
       
    30 ifeq ($(PLATFORM_PATH),ARMV5) 
       
    31 	PLATFORM_PATH=armv5
       
    32 else
       
    33 ifeq ($(PLATFORM_PATH),ARMV7) 
       
    34 	PLATFORM_PATH=armv7
       
    35 else
       
    36 ifeq ($(PLATFORM_PATH),TOOLS) 
       
    37 	PLATFORM_PATH=tools
       
    38 else
       
    39 ifeq ($(PLATFORM_PATH),TOOLS2) 
       
    40 	PLATFORM_PATH=tools2
       
    41 endif
       
    42 endif
       
    43 endif
       
    44 endif
       
    45 endif
       
    46 endif
       
    47 
       
    48 ifeq ($(CFG_PATH),UREL) 
       
    49 	CFG_PATH=urel
       
    50 else
       
    51 ifeq ($(CFG_PATH),UDEB) 
       
    52 	CFG_PATH=udeb
       
    53 else
       
    54 ifeq ($(CFG_PATH),DEB) 
       
    55 	CFG_PATH=deb
       
    56 else
       
    57 ifeq ($(CFG_PATH),REL) 
       
    58 	CFG_PATH=rel
       
    59 endif
       
    60 endif
       
    61 endif
       
    62 endif
       
    63