doc: slight more commenting for resource dpe minimisation fix
authortimothy.murphy@nokia.com
Tue, 13 Apr 2010 18:06:25 +0100
branchfix
changeset 484 56adcb9bad98
parent 483 941b2742ee49
child 485 926e968477c6
doc: slight more commenting for resource dpe minimisation
sbsv2/raptor/lib/flm/resource.flm
--- a/sbsv2/raptor/lib/flm/resource.flm	Tue Apr 13 17:35:43 2010 +0100
+++ b/sbsv2/raptor/lib/flm/resource.flm	Tue Apr 13 18:06:25 2010 +0100
@@ -155,7 +155,8 @@
       # It allows resources to be built in the right order but doesn't impose the weight of
       # of full dependency information which can overwhelm make in large builds.
       # The strategy is to filter out lines (apart from the target line which is the first) which don't have .rsg or 
-      # .mbg dependencies in them. 
+      # .mbg dependencies in them.   The first line can sometimes not contain the target but 
+      # have a lonely "\" so we use a pattern to recognise the target line in order not to get confused. 
       DEPENDENCY_CORRECTOR:={ $(GNUSED) -n -r '/.*: +.$$$$/ p;\%\.((rsg)|(mbg))%I {s% ([^ \/]+\.((rsg)|(mbg)))% $(EPOCROOT)\/epoc32\/include\/\1%ig; p}' && echo "" ; }
     else
       # Generate full dependency information