If a package does not have a definition in the sources.csv then it won't get built, so don't try to incorporate it into the system definition.
authorSimon Howkins <simonh@symbian.org>
Thu, 06 Aug 2009 10:01:35 +0100
changeset 335 15307a7772ea
parent 334 28c7ebde1768
child 337 1d3a752f6723
If a package does not have a definition in the sources.csv then it won't get built, so don't try to incorporate it into the system definition.
common/tools/csvToSysDef.pl
--- a/common/tools/csvToSysDef.pl	Wed Aug 05 18:14:46 2009 +0100
+++ b/common/tools/csvToSysDef.pl	Thu Aug 06 10:01:35 2009 +0100
@@ -50,6 +50,8 @@
 # For each package in CSV...
 foreach my $package (@packages)
 {
+	# If the sources.csv does not include a sys def for this package, it doesn't get built
+	next unless $package->{sysdef};
 	warn "Warning: Package $package->{dst} does not appear on the local system\n" unless -d $package->{dst};
 	# Look for the pkg defn in the root of the package tree
 	my $pkgDef = "$package->{dst}/$package->{sysdef}";