# HG changeset patch # User timothy.murphy@nokia.com # Date 1271178385 -3600 # Node ID 56adcb9bad984bb778efb50012166f45804d1243 # Parent 941b2742ee49be35db0a3d1f39a0ae8d538f90c9 doc: slight more commenting for resource dpe minimisation diff -r 941b2742ee49 -r 56adcb9bad98 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