Subversion Repositories DevTools

Rev

Rev 4740 | Rev 5215 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4740 Rev 4907
Line 21... Line 21...
21
#                 Where Options may be one of:
21
#                 Where Options may be one of:
22
#                   --Script=DebianPackagerScript       - Mandatory. Name of a the debian script
22
#                   --Script=DebianPackagerScript       - Mandatory. Name of a the debian script
23
#                   --Name=Name                         - Debian Package name(optional)
23
#                   --Name=Name                         - Debian Package name(optional)
24
#                   --Variant=Text                      - Package Variant(optional)
24
#                   --Variant=Text                      - Package Variant(optional)
25
#                   --DeployMode                        - Create Deployable packages(optional)
25
#                   --DeployMode                        - Create Deployable packages(optional)
-
 
26
#                                                         Default for native targets
26
#                                                         These are:
27
#                                                         These are:
27
#                                                           * Packaged into the root of target pkg
28
#                                                           * Packaged into the root of target pkg
28
#                                                           * Have P or D in the name
29
#                                                           * Have P or D in the name
-
 
30
#                   --NoDeployMode                      - Create packages that cannto be directly deployed
-
 
31
#                                                         Default for embeded devices
29
#                   --TarFile=name                      - Create named .tgz file, of the data area, not scripts
32
#                   --TarFile=name                      - Create named .tgz file, of the data area, not scripts
30
#                                                         Name can contain PACKAGE, VERSION and TYPE
33
#                                                         Name can contain PACKAGE, VERSION and TYPE
31
#                   --TarFile                           - Same as --TarFile=PACKAGE_VERSION_PLATFORM_TYPE or PACKAGE_VERSION_PLATFORM
34
#                   --TarFile                           - Same as --TarFile=PACKAGE_VERSION_PLATFORM_TYPE or PACKAGE_VERSION_PLATFORM
32
#                       
35
#                       
33
#
36
#
Line 57... Line 60...
57
    my $build_variant = '';
60
    my $build_variant = '';
58
 
61
 
59
    my $script_set=0;
62
    my $script_set=0;
60
    my $name_set=0;
63
    my $name_set=0;
61
    my $variant_set=0;
64
    my $variant_set=0;
62
    my $deploy_mode = 0;
65
    my $deploy_mode = GetGlobalOption('DEBIAN_PACKAGE_DEPLOYABLE', 0);
63
 
66
 
64
    my $tarFileName = '';
67
    my $tarFileName = '';
65
    my @outputFiles;
68
    my @outputFiles;
66
    my @optArgs;
69
    my @optArgs;
67
 
70
 
Line 88... Line 91...
88
            $build_variant = $1;
91
            $build_variant = $1;
89
            $variant_set++;
92
            $variant_set++;
90
 
93
 
91
        } elsif ( m/^--DeployMode/ ) {
94
        } elsif ( m/^--DeployMode/ ) {
92
            $deploy_mode = 1;
95
            $deploy_mode = 1;
-
 
96
 
-
 
97
        } elsif ( m/^--NoDeployMode/ ) {
93
            
98
            $deploy_mode = 0;
-
 
99
 
94
        } elsif ( m/^--TarFile$/ ) {
100
        } elsif ( m/^--TarFile$/ ) {
95
            $tarFileName = 'DEFAULT';
101
            $tarFileName = 'DEFAULT';
96
            
102
            
97
        } elsif ( m/^--TarFile=(.*)/ ) {
103
        } elsif ( m/^--TarFile=(.*)/ ) {
98
            $tarFileName = $1;
104
            $tarFileName = $1;