Re: [Xen-devel] [XEN PATCH v3 16/23] xen/build: introduce if_changed and if_changed_rule

2020-03-18 Thread Jan Beulich
On 18.03.2020 11:44, Anthony PERARD wrote: On Wed, Mar 04, 2020 at 04:45:36PM +0100, Jan Beulich wrote: On 26.02.2020 12:33, Anthony PERARD wrote: The if_changed macro from Linux can record the command used to build a target then compare it on rebuild. Thus if a command has changed, for

Re: [Xen-devel] [XEN PATCH v3 16/23] xen/build: introduce if_changed and if_changed_rule

2020-03-18 Thread Anthony PERARD
On Wed, Mar 04, 2020 at 04:45:36PM +0100, Jan Beulich wrote: > On 26.02.2020 12:33, Anthony PERARD wrote: > > The if_changed macro from Linux can record the command used to build a > > target then compare it on rebuild. Thus if a command has changed, for > > example due to introducing new flags in

Re: [Xen-devel] [XEN PATCH v3 16/23] xen/build: introduce if_changed and if_changed_rule

2020-03-04 Thread Jan Beulich
On 26.02.2020 12:33, Anthony PERARD wrote: > The if_changed macro from Linux can record the command used to build a > target then compare it on rebuild. Thus if a command has changed, for > example due to introducing new flags in CFLAGS or due to using a > different compiler, the target will be

[Xen-devel] [XEN PATCH v3 16/23] xen/build: introduce if_changed and if_changed_rule

2020-02-26 Thread Anthony PERARD
The if_changed macro from Linux can record the command used to build a target then compare it on rebuild. Thus if a command has changed, for example due to introducing new flags in CFLAGS or due to using a different compiler, the target will be rebuilt. if_changed_rule checks dependencies like