build: generate "include/xen/compile.h" with if_changed
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 15 Dec 2021 09:16:51 +0000 (10:16 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 15 Dec 2021 09:16:51 +0000 (10:16 +0100)
commit19427e439e01715c1a493c1528122234346efe38
tree116a6255742fa34daa320639b9cb037bc59c3e11
parent725381a5eab35227ef0099a43e05034def42bb77
build: generate "include/xen/compile.h" with if_changed

This will avoid regenerating "compile.h" if the content hasn't changed.

As it's currently the case, the file isn't regenerated during `sudo
make install` if it exist and does belong to a different user, thus we
can remove the target "delete-unfresh-files". Target "$(TARGET)" still
need a phony dependency, so add "FORCE".

Use "$(dot-target).tmp" as temporary file as this is already cover by
".*.tmp" partern in ".gitconfig".

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