Re: [Xen-devel] [XEN PATCH v3 19/23] xen/build: Use if_changed_rules with %.o:%.c targets

2020-03-18 Thread Anthony PERARD
On Wed, Mar 04, 2020 at 05:09:19PM +0100, Jan Beulich wrote: > On 26.02.2020 12:33, Anthony PERARD wrote: > > +define rule_cc_o_c > > +$(call cmd_and_record,cc_o_c) > > +$(call cmd,objcopy_fix_sym) > > The machinery is resilient to a command (here: cmd_objcopy_fix_sym) > not being

Re: [Xen-devel] [XEN PATCH v3 19/23] xen/build: Use if_changed_rules with %.o:%.c targets

2020-03-04 Thread Jan Beulich
On 26.02.2020 12:33, Anthony PERARD wrote: > Use $(dot-target) to have the target name prefix with a dot. > > Now, when the CC command has run, it is recorded in .*.cmd > file, then if_changed_rules will compare it on subsequent runs. > > Signed-off-by: Anthony PERARD Reviewed-by: Jan Beulich

[Xen-devel] [XEN PATCH v3 19/23] xen/build: Use if_changed_rules with %.o:%.c targets

2020-02-26 Thread Anthony PERARD
Use $(dot-target) to have the target name prefix with a dot. Now, when the CC command has run, it is recorded in .*.cmd file, then if_changed_rules will compare it on subsequent runs. Signed-off-by: Anthony PERARD --- xen/Rules.mk | 26 +- 1 file changed, 17