imgtools/imaker/src/imaker_minienv.mk
changeset 1 be27ed110b50
child 584 56dd7656a965
equal deleted inserted replaced
0:044383f39525 1:be27ed110b50
       
     1 #
       
     2 # Copyright (c) 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 "Symbian Foundation License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description: Default iMaker minienv configuration
       
    15 #
       
    16 
       
    17 
       
    18 
       
    19 ###############################################################################
       
    20 #  __  __ _      _ ___
       
    21 # |  \/  (_)_ _ (_) __|_ ___ __
       
    22 # | |\/| | | ' \| | _|| ' \ V /
       
    23 # |_|  |_|_|_||_|_|___|_||_\_/
       
    24 #
       
    25 
       
    26 MINIENV_ZIP     = $(WORKPREFIX)_minienv.zip
       
    27 MINIENV_EXCLBIN = *.axf *.bin *.cmt *.fpsx *.hex *.out *.pmd *.ppu *.zip
       
    28 MINIENV_INCLBIN = *.axf *.bin *.fpsx *.hex *.out
       
    29 MINIENV_SOSDIR  = $(WORKDIR)
       
    30 
       
    31 CLEAN_MINIENV = del | $(MINIENV_ZIP)
       
    32 BUILD_MINIENV =\
       
    33   echo-q | Creating minimal flash image creation environment $(MINIENV_ZIP) |\
       
    34   $(MINIENV_TOOL) | $(MINIENV_CONF) |\
       
    35   zip-q  | $(MINIENV_ZIP) | __find__ |
       
    36 
       
    37 MINIENV_IMAKER =\
       
    38   find   | $(E32TOOLS)   | imaker.cmd localise.pm localise_all_resources.pm obyparse.pm override.pm plugincommon.pm | |\
       
    39   find-a | $(IMAKER_DIR) | * |
       
    40 
       
    41 MINIENV_TOOL =\
       
    42   $(MINIENV_IMAKER) |\
       
    43   find-a | $(ITOOL_DIR) | * | |\
       
    44   find-a | $(E32TOOLS) |\
       
    45     cli.cmd s60ibymacros.pm\
       
    46     armutl.pm bpabiutl.pm buildrom.* checksource.pm configpaging.pm datadriveimage.pm e32plat.pm\
       
    47     e32variant.pm externaltools.pm featurevariantmap.pm featurevariantparser.pm genutl.pm maksym.*\
       
    48     maksymrofs.* modload.pm pathutl.pm rofsbuild.exe rombuild.exe spitool.* uidcrc.exe winutl.pm\
       
    49     *.bsf | gcc*.bsf |\
       
    50   find-a  | $(E32TOOLS)/variant | * | |\
       
    51   find-ar | $(E32GCCBIN)        | * | |\
       
    52   find-ar | $(CONFT_TOOLDIR)    | * |
       
    53 
       
    54 MINIENV_CONF =\
       
    55   find-a    | $(E32INC)              | *.hrh | |\
       
    56   find-ar   | $(E32INCCFG)           | * | |\
       
    57   find-ar   | $(E32INC)/oem          | * | |\
       
    58   find-ar   | $(E32INC)/variant      | * | |\
       
    59   find-a    | $(E32ROM)              | * | |\
       
    60   find-ar   | $(E32ROMCFG)           | * | $(MINIENV_EXCLBIN) |\
       
    61   find-ar   | $(E32ROM)/configpaging | * | |\
       
    62   find-ar   | $(E32ROMINC)           | * | |\
       
    63   find-ar   | $(E32ROM)/variant      | * | |\
       
    64   find-ar   | $(OST_DICTDIR)         | $(OST_DICTPAT) | |\
       
    65   find-ar   | $(EPOC32)/data/Z/resource/plugins | * | |\
       
    66   find-a    | $(COREPLAT_DIR) | $(MINIENV_INCLBIN) | |\
       
    67   find-ar   | $(PRODUCT_DIR)  | $(MINIENV_INCLBIN) | |\
       
    68   sosfind-a | $(MINIENV_SOSDIR) | *.tmp1.oby | *.rom.oby *.rofs?.oby | *_bldromplugin.log
       
    69 
       
    70 
       
    71 ###############################################################################
       
    72 # Targets
       
    73 
       
    74 .PHONY:\
       
    75   minienv
       
    76 
       
    77 minienv: ;@$(call IMAKER,$(call ucase,$@))
       
    78 
       
    79 
       
    80 # END OF IMAKER_MINIENV.MK