equal
deleted
inserted
replaced
154 # This version minimises the size of dependency files, to contain only .mbg and .rsg deps. |
154 # This version minimises the size of dependency files, to contain only .mbg and .rsg deps. |
155 # It allows resources to be built in the right order but doesn't impose the weight of |
155 # It allows resources to be built in the right order but doesn't impose the weight of |
156 # of full dependency information which can overwhelm make in large builds. |
156 # of full dependency information which can overwhelm make in large builds. |
157 # The strategy is to filter out lines (apart from the target line which is the first) which don't have .rsg or |
157 # The strategy is to filter out lines (apart from the target line which is the first) which don't have .rsg or |
158 # .mbg dependencies in them. |
158 # .mbg dependencies in them. |
159 DEPENDENCY_CORRECTOR:={ $(GNUSED) -n -r '/.*: +.$$$$/ p;\%\.((rsg)|(mbg))%I {s% ([^ \/]+\.((rsg)|(mbg)))% $(EPOCROOT)\/epoc32\/include\/\1%ig; p}' && echo "" ; } |
159 DEPENDENCY_CORRECTOR:={ $(GNUSED) -n -r '/.*: +.$$$$/ p;\%\.((rsg)|(mbg))%I {s% ([^ \/]+\.((rsg)|(mbg)))% __EPOCROOT\/epoc32\/include\/\1%ig;s% [^_][^_][^E][^ ]+%%g;s%__EPOCROOT%$(EPOCROOT)%g; p}' && echo "" ; } |
160 else |
160 else |
161 # Generate full dependency information |
161 # Generate full dependency information |
162 DEPENDENCY_CORRECTOR:=$(GNUSED) -r 's% ([^ \/]+\.((rsg)|(mbg)))% $(EPOCROOT)\/epoc32\/include\/\1%ig' |
162 DEPENDENCY_CORRECTOR:=$(GNUSED) -r 's% ([^ \/]+\.((rsg)|(mbg)))% $(EPOCROOT)\/epoc32\/include\/\1%ig' |
163 endif |
163 endif |
164 |
164 |