Merge - GCCXML logfile fix fix
authorIain Williamson <iain.williamson@nokia.com>
Tue, 23 Feb 2010 16:57:47 +0000
branchfix
changeset 250 019dafe54c23
parent 249 a0d304bf0d55 (diff)
parent 247 8426d4dedf84 (current diff)
child 253 c1e5ac1e307e
child 259 e791a4e81614
child 264 a888df7554c4
child 268 692d9a4eefc4
Merge - GCCXML logfile fix
sbsv2/raptor/RELEASE-NOTES.txt
--- a/sbsv2/raptor/RELEASE-NOTES.txt	Tue Feb 23 14:22:19 2010 +0000
+++ b/sbsv2/raptor/RELEASE-NOTES.txt	Tue Feb 23 16:57:47 2010 +0000
@@ -1,6 +1,5 @@
 Release Notes for Symbian Build System v2
 
-
 next version
 
 Defect Fixes:
@@ -10,7 +9,7 @@
   --no-depend-generate added to suppress the generation and processing of dependency files
   .DEFAULT target introduced for all non --no-depend-generate and/or --no-depend-include builds
 - Add support for PLUGIN3 TARGETTYPEs
-
+- Fixing logfile corruption for large GCCXML builds by suppressing zip output
 
 version 2.12.2
 
--- a/sbsv2/raptor/lib/flm/gccxml.flm	Tue Feb 23 14:22:19 2010 +0000
+++ b/sbsv2/raptor/lib/flm/gccxml.flm	Tue Feb 23 16:57:47 2010 +0000
@@ -71,7 +71,7 @@
 # $(2) list of further variable arguments to group in 150 element calls
 define groupcallin50
 	$(if $2,$1 $(foreach L,$(wordlist 1,50,$2),$(L)),)
-	$(if $2,$(call groupcallin50,$1,$(wordlist 51,$(words $2),$2)),true)
+	$(if $2,$(call groupcallin50,$1,$(wordlist 51,$(words $2),$2)),@true)
 endef
 
 # echos content to a file in groups performing optional search/replace based on passed args
@@ -235,7 +235,7 @@
 # note: the main call here needs to reside outside of start/endrule in order to avoid command line length issues.
 define gccxmlpackage
   $(TEMPGXPARCHIVE): $(MMPXMLFILE) $(SRCXMLFILES) $(DEFFILE)
-	  $$(call groupcallin50,$(ZIP) -j $$@,$$^ $(RFIFILES)) ;
+	  $$(call groupcallin50,@$(ZIP) -j $$@ > /dev/null 2>&1,$$^ $(RFIFILES)) ;
 	  $(call startrule,gccxmlpackage) \
 	  $(GNURM) -f $(GXPARCHIVE) && \
 	  $(GNUCP) $$@ $(GXPARCHIVE) \