sbsv2/raptor/util/bvcpp.mk
changeset 0 044383f39525
child 3 e1eecf4d390d
equal deleted inserted replaced
-1:000000000000 0:044383f39525
       
     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 BVCPP_TAR:=$(SBS_HOME)/util/ext/bv.tgz
       
    19 
       
    20 
       
    21 define b_bvcpp
       
    22 
       
    23 .PHONY:: bvcpp
       
    24 
       
    25 all:: bvcpp
       
    26 
       
    27 bvcpp: $(INSTALLROOT)/bv/bin/cpp
       
    28 
       
    29 $(INSTALLROOT)/bv/bin/cpp: $(BVCPP_TAR)
       
    30 	cd $(INSTALLROOT) && \
       
    31 	rm -rf bv && \
       
    32 	tar -xzf $(BVCPP_TAR)&& touch $$@
       
    33 
       
    34 endef
       
    35 
       
    36 $(eval $(b_bvcpp))
       
    37 
       
    38 
       
    39 
       
    40