Message ID | 20220601165909.46588-5-anthony.perard@citrix.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | xen: rework compat headers generation | expand |
On 01.06.2022 18:59, Anthony PERARD wrote: > Now that the command line generating "xlat.h" is check on rebuild, the > header will be regenerated whenever the list of xlat headers changes > due to change in ".config". We don't need to force a regeneration for > every changes in ".config". This looks to be dependent on only patch 1; I wonder if it shouldn't be viewed as an integral part of that adjustment. Anyway - if you want to keep it on its own: Acked-by: Jan Beulich <jbeulich@suse.com> Jan
diff --git a/xen/include/Makefile b/xen/include/Makefile index b7e7148665..937a8bc884 100644 --- a/xen/include/Makefile +++ b/xen/include/Makefile @@ -99,7 +99,7 @@ cmd_xlat_h = \ cat $(filter %.h,$^) >$@.new; \ mv -f $@.new $@ -$(obj)/compat/xlat.h: $(addprefix $(obj)/compat/.xlat/,$(xlat-y)) $(obj)/config/auto.conf FORCE +$(obj)/compat/xlat.h: $(addprefix $(obj)/compat/.xlat/,$(xlat-y)) FORCE $(call if_changed,xlat_h) ifeq ($(XEN_TARGET_ARCH),$(XEN_COMPILE_ARCH))
Now that the command line generating "xlat.h" is check on rebuild, the header will be regenerated whenever the list of xlat headers changes due to change in ".config". We don't need to force a regeneration for every changes in ".config". Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> --- xen/include/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)