sbsv2/raptor/util/codewarrior.mk
changeset 2 39c28ec933dd
child 13 c327db0664bb
equal deleted inserted replaced
1:820b22e13ff1 2:39c28ec933dd
       
     1 #
       
     2 # Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of the License "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description: 
       
    15 # Utility makefile 
       
    16 #
       
    17 
       
    18 CODEWARRIOR_TAR:=$(SBS_HOME)/util/ext/cw_build470msl19.tgz
       
    19 
       
    20 
       
    21 define b_codewarrior
       
    22 
       
    23 .PHONY:: codewarrior
       
    24 
       
    25 all:: codewarrior
       
    26 
       
    27 codewarrior: $(INSTALLROOT)/cw_build470msl19/release/Symbian_Tools/Command_Line_Tools/mwccsym2
       
    28 	
       
    29 $(INSTALLROOT)/cw_build470msl19/release/Symbian_Tools/Command_Line_Tools/mwccsym2: $(CODEWARRIOR_TAR)
       
    30 	cd $(INSTALLROOT) && \
       
    31 	tar -xzf $(CODEWARRIOR_TAR) && touch $$@
       
    32 endef
       
    33 
       
    34 $(eval $(b_codewarrior))
       
    35 
       
    36 
       
    37 
       
    38