Re: [XEN PATCH v7 27/51] build: introduce if_changed_deps

2021-10-14 Thread Anthony PERARD
On Mon, Oct 11, 2021 at 04:20:36PM +0200, Jan Beulich wrote: > On 24.08.2021 12:50, Anthony PERARD wrote: > > @@ -400,7 +407,7 @@ $(TARGET).gz: $(TARGET) > > gzip -n -f -9 < $< > $@.new > > mv $@.new $@ > > > > -$(TARGET): FORCE > > +$(TARGET): tools_fixdep FORCE > > $(MAKE) -C tools

Re: [XEN PATCH v7 27/51] build: introduce if_changed_deps

2021-10-11 Thread Jan Beulich
On 24.08.2021 12:50, Anthony PERARD wrote: > This macro does compare command line like if_changed, but it also > rewrite the dependencies generated by $(CC) in order to depend on a > CONFIG_* as generated by kconfig instead of depending on autoconf.h. > This allow to make a change in kconfig

[XEN PATCH v7 27/51] build: introduce if_changed_deps

2021-08-24 Thread Anthony PERARD
This macro does compare command line like if_changed, but it also rewrite the dependencies generated by $(CC) in order to depend on a CONFIG_* as generated by kconfig instead of depending on autoconf.h. This allow to make a change in kconfig options and only rebuild the object that uses that