# HG changeset patch # User timothy.murphy@nokia.com # Date 1270669693 -3600 # Node ID f45853a5ce36433b2b70db4347c555759566bbba # Parent 6af83cc4c38a683518ba5160c4c5f229108cca9d comments: better commenting in resource.flm diff -r 6af83cc4c38a -r f45853a5ce36 sbsv2/raptor/lib/flm/resource.flm --- a/sbsv2/raptor/lib/flm/resource.flm Wed Apr 07 20:31:05 2010 +0100 +++ b/sbsv2/raptor/lib/flm/resource.flm Wed Apr 07 20:48:13 2010 +0100 @@ -117,9 +117,11 @@ CREATABLEPATHS:=$(RSCDIR) $(RSGDIR) $(OUTPUTPATH) -# We intend to generate the resource in an intermediate locationand copy to the final destination to -# ensure that when the "same" resource is built into separare locations it is +# We intend to generate the resource in an intermediate location and copy to the targetpath to +# ensure that when the "same" resource is built into separare target paths, it doesn't have to be +# completely recreated each time - just copied. RSCCOPYDIRS:=$(RSCDIR) + # additional binary resource copies performed based on BINCOPYDIRS ifneq ($(BINCOPYDIRS),) RSCCOPYDIRS:=$(RSCCOPYDIRS) $(subst //,/,$(patsubst %,%/$(if $(TARGETPATH),/z/$(TARGETPATH),),$(BINCOPYDIRS))) @@ -147,6 +149,8 @@ # This version minimises the size of dependency files, to contain only .mbg and .rsg deps. # 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. DEPENDENCY_CORRECTOR:={ $(GNUSED) -n -r '1 p;\% [^ \/]+\.((rsg)|(mbg))%I {s% ([^ \/]+\.((rsg)|(mbg)))% $(EPOCROOT)\/epoc32\/include\/\1%ig; p}' && echo "" ; } else # Generate full dependency information