| 2875 |
dpurdie |
1 |
# Copyright (C) 1998-2004 ERG Limited, All rights reserved
|
|
|
2 |
#
|
|
|
3 |
# Module name : build.pl
|
|
|
4 |
# Module type : Makefile system
|
|
|
5 |
# Environment(s): n/a
|
|
|
6 |
#
|
|
|
7 |
# Description: build.pl example of MakeNsisPackage
|
|
|
8 |
# The ARM Compiler that we have came from an SDK that VIX does
|
|
|
9 |
# not have, no longer has, never had. Who knows.
|
|
|
10 |
#
|
|
|
11 |
# This package creates an installer to automate the process of
|
|
|
12 |
# dropping the required compiler onto a machine.
|
|
|
13 |
#
|
|
|
14 |
#.........................................................................#
|
|
|
15 |
|
|
|
16 |
#.. Build system
|
|
|
17 |
#
|
|
|
18 |
$MAKELIB_PL = "$ENV{ GBE_TOOLS }/makelib.pl";
|
|
|
19 |
$BUILDLIB_PL = "$ENV{ GBE_TOOLS }/buildlib.pl";
|
|
|
20 |
|
|
|
21 |
require "$BUILDLIB_PL";
|
|
|
22 |
require "$MAKELIB_PL";
|
|
|
23 |
|
|
|
24 |
#.. Toolset configuration
|
|
|
25 |
#
|
|
|
26 |
|
|
|
27 |
#.. Product configuration
|
|
|
28 |
#
|
|
|
29 |
BuildPlatforms ( 'WIN32,--OnlyProd,--NoToolSet' );
|
|
|
30 |
|
|
|
31 |
BuildName ( 'ArmCompiler251','2.51.0000', 'tool', '--RelaxedVersion' );
|
|
|
32 |
|
|
|
33 |
BuildInterface ( 'local' );
|
|
|
34 |
BuildInterface ( 'interface' );
|
|
|
35 |
|
|
|
36 |
#.. External Packages
|
|
|
37 |
# Use LinkpkgArchive or BuildPkgArchive
|
|
|
38 |
#
|
|
|
39 |
LinkPkgArchive ( 'nsis' , '2.46.0000.cots' );
|
|
|
40 |
LinkPkgArchive ( 'nsis_packager', '2.1.4000.cr' );
|
|
|
41 |
|
|
|
42 |
#
|
|
|
43 |
# Specify subdirectories to process
|
|
|
44 |
#
|
|
|
45 |
BuildSubDir ( 'src' );
|
|
|
46 |
|
|
|
47 |
#
|
|
|
48 |
# Generate Files
|
|
|
49 |
BuildDescpkg ();
|
|
|
50 |
BuildMake ();
|
|
|
51 |
|