[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 1/5] x86/build: limit rebuilding of asm-offsets.h
On 28.12.2020 13:00, Roger Pau Monné wrote: > On Wed, Nov 25, 2020 at 09:45:56AM +0100, Jan Beulich wrote: >> This file has a long dependencies list (through asm-offsets.s) and a >> long list of dependents. IOW if any of the former changes, all of the >> latter will be rebuilt, even if there's no actual change to the >> generated file. This is the primary scenario we have the move-if-changed >> macro for. >> >> Since debug information may easily cause the file contents to change in >> benign ways, also avoid emitting this into the output file. >> >> Finally already before this change *.new files needed including in what >> gets removed by the "clean" target. >> >> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> > > Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> Thanks. >> --- >> Perhaps Arm would want doing the same. In fact perhaps the rules should >> be unified by moving to common code? > > Having the rule in common code would be my preference, the > prerequisites are slightly different, but I think we can sort this > out? Well, that's the nice thing about make rules: Dependencies / prereqs and the actual rule can be specified independently. I.e. I'd envision per-arch dependency specifications and a common rule (with common dependencies of course living there as well). Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |