build: adjust include/xen/compile.h generation
authorJan Beulich <jbeulich@suse.com>
Fri, 14 Jan 2022 10:03:03 +0000 (11:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 14 Jan 2022 10:03:03 +0000 (11:03 +0100)
commit299deb9dd93e5aae2f3b24ec001214458077a185
treed812c9252041adea0884267f07c72a55c0b8f56c
parent9ce0a5e207f3968e65d0af33a15bee5bdf5c8a7f
build: adjust include/xen/compile.h generation

Prior to 19427e439e01 ("build: generate "include/xen/compile.h" with
if_changed") running "make install-xen" as root would not have printed
the banner under normal circumstances. Its printing would instead have
indicated that something was wrong (or during a normal build the lack
of printing would do so).

Further aforementioned change had another undesirable effect, which I
didn't notice during review: Originally compile.h would have been
re-generated (and final binaries re-linked) when its dependencies were
updated after an earlier build. This is no longer the case now, which
means that if some other file also was updated, then the re-build done
during "make install-xen" would happen with a stale compile.h (as its
updating is suppressed in this case).

Restore the earlier behavior for both aspects.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
xen/Makefile