diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2005-10-21 20:15:23 +0300 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2005-10-21 14:12:10 +0000 |
commit | ed76c0e43f6496020fbf49e22ea9651b31346e91 (patch) | |
tree | dfb2d6e7605023979056f995918fc79f131e4ccf /symbian/makesis.pl | |
parent | 4ef2275c8517a5b084d75f6179d5b49f77f76d2c (diff) | |
download | perl-ed76c0e43f6496020fbf49e22ea9651b31346e91.tar.gz |
Symbian/beginnings of Series 80 support
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A67E@esebe105.NOE.Nokia.com>
p4raw-id: //depot/perl@25814
Diffstat (limited to 'symbian/makesis.pl')
-rw-r--r-- | symbian/makesis.pl | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/symbian/makesis.pl b/symbian/makesis.pl index 3c20ced301..d5703100a1 100644 --- a/symbian/makesis.pl +++ b/symbian/makesis.pl @@ -11,12 +11,14 @@ my %VERSION = %{ do "version.pl" }; my $VERSION = "$VERSION{REVISION}$VERSION{VERSION}$VERSION{SUBVERSION}"; my $R_V_SV = "$VERSION{REVISION}.$VERSION{VERSION}.$VERSION{SUBVERSION}"; -my $SDK = do "sdk.pl"; +my ($SYMBIAN_ROOT, $SYMBIAN_VERSION, $SDK_NAME, $SDK_VARIANT, $SDK_VERSION) = + @{ do "sdk.pl" }; my $UID = do "uid.pl"; my %PORT = %{ do "port.pl" }; my $ARM = 'thumb'; # TODO -my $S60SK = $ENV{S60SDK}; # from sdk.pl +my $S60SDK = $ENV{S60SDK}; # from sdk.pl +my $S80SDK = $ENV{S80SDK}; # from sdk.pl my $UREL = $ENV{UREL}; # from sdk.pl $UREL =~ s/-ARM-/$ARM/; @@ -153,6 +155,13 @@ for my $target (@target) { && defined $PATCH && ( $PATCH eq 0 || $PATCH > 0 ); + my $ProductId = + defined $S60SDK ? +qq[;Supports Series 60 v0.9\n(0x101F6F88), 0, 0, 0, {"Series60ProductID"}\n] : + defined $S80SDK ? +qq[;Supports Series 80 v2.0\n(0x101F8ED2), 0, 0, 0, {"Series80ProductID"}\n] : + ";Supports Series NN"; + open PKG, ">$pkg" or die "$0: failed to create $pkg: $!\n"; print PKG <<__EOF__; ; \u$target installation script @@ -168,8 +177,7 @@ for my $target (@target) { ; ;* "\u$target.key", "\u$target.cer" ; -; Supports Series60 v0.9 -(0x101F6F88), 0, 0, 0, {"Series60ProductID"} +$ProductId ; The files to install ; $copy |