sbsv1/abld/e32util/omapsig.pl
changeset 606 30b30f9da0b7
parent 599 fa7a3cc6effd
--- a/sbsv1/abld/e32util/omapsig.pl	Fri Jun 25 20:58:33 2010 +0800
+++ b/sbsv1/abld/e32util/omapsig.pl	Tue Jun 29 14:52:54 2010 +0800
@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 # e32toolp\e32util\omapsig.pl
 #
 # Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
@@ -24,8 +25,13 @@
 use IO::Handle;
 use File::Copy;
 
+# Version
+my $MajorVersion = 1;
+my $MinorVersion = 1;
+my $PatchVersion = 0;
+
 if (scalar(@ARGV)!=3) {
-	die "perl omapsig.pl <load address in hex> <input miniboot> <output minboot with sig>\n";
+	die "OMAPSIG signature tool V$MajorVersion.$MinorVersion.$PatchVersion\nperl omapsig.pl <load address in hex> <input miniboot> <output minboot with sig>\n";
 }
 
 my ($load_address, $infile, $outfile) = @ARGV;
@@ -53,4 +59,4 @@
 close $out;
 
 print "signed miniboot output ", -s $outfile, " bytes\n";
-exit;
\ No newline at end of file
+exit;