tools/fix_rombuild_log.pl
author William Roberts <williamr@symbian.org>
Thu, 18 Nov 2010 11:35:56 +0000
changeset 134 79169c91b472
parent 94 002e7d402b45
permissions -rw-r--r--
Add commdb and related ethernetced.xml file, and use it in the generic stem_rom.oby file Note that this doesn't seem to make ethernet networking work, and it's probably necessary to run the ipconnmgmt dbcreator.exe as well to get a fully working commdb.

# Copyright (c) 2010 Symbian Foundation Ltd.
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of the License "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Symbian Foundation - initial contribution.
#
# Contributors:
#
# Description: 
# This script fixes rombuild logfiles which elf4rom doesn't like

use strict;

my $line;
my $skipping = 0;
while ($line = <>)
	{
	if ($line =~ /^PageSize:/)
		{
		print $line;
		$skipping = 1;
		next;
		}
	if ($line =~ /^Variant /)
		{
		print $line;
		$skipping = 0;
		next;
		}
	
	next if ($skipping);
	print $line;
	}