tools: Use config.h from autoconf instead of "buildmakevars2header"

This avoid the need to generate the _paths.h header when the
information is from autoconf anyway.

They are no more users of the "buildmakevars2header" macro, so it can
be removed from "Config.mk".

Also removed the extra "-f" flag where "$(RM)" is used (xl/Makefile).

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
This commit is contained in:
Anthony PERARD authored and Andrew Cooper committed 2021-12-16 20:27:12 +00:00
1 parent e7fe314870
commit 021cd1c4b4
24 files changed
+179 -66

No files matched your search

Vendored
+45
View File
@@ -1946,6 +1946,11 @@ CONFIG_DIR=$sysconfdir
XEN_CONFIG_DIR=$CONFIG_DIR/xen
cat >>confdefs.h <<_ACEOF
#define XEN_CONFIG_DIR "$XEN_CONFIG_DIR"
_ACEOF
# Check whether --with-initddir was given.
if test "${with_initddir+set}" = set; then :
@@ -1998,6 +2003,11 @@ fi
XEN_SCRIPT_DIR=$xen_scriptdir_path
cat >>confdefs.h <<_ACEOF
#define XEN_SCRIPT_DIR "$XEN_SCRIPT_DIR"
_ACEOF
# Check whether --with-xen-dumpdir was given.
if test "${with_xen_dumpdir+set}" = set; then :
@@ -2038,6 +2048,11 @@ LIBEXEC=`eval echo $libexecdir/$libexec_subdir`
LIBEXEC_BIN=${LIBEXEC}/bin
cat >>confdefs.h <<_ACEOF
#define LIBEXEC_BIN "$LIBEXEC_BIN"
_ACEOF
LIBEXEC_LIB=${LIBEXEC}/lib
LIBEXEC_INC=${LIBEXEC}/include
@@ -2045,12 +2060,27 @@ LIBEXEC_INC=${LIBEXEC}/include
XENFIRMWAREDIR=${LIBEXEC}/boot
cat >>confdefs.h <<_ACEOF
#define XENFIRMWAREDIR "$XENFIRMWAREDIR"
_ACEOF
XEN_RUN_DIR=$rundir_path/xen
cat >>confdefs.h <<_ACEOF
#define XEN_RUN_DIR "$XEN_RUN_DIR"
_ACEOF
XEN_LOG_DIR=$localstatedir/log/xen
cat >>confdefs.h <<_ACEOF
#define XEN_LOG_DIR "$XEN_LOG_DIR"
_ACEOF
XEN_LIB_STORED=$localstatedir/lib/xenstored
@@ -2060,6 +2090,11 @@ XEN_RUN_STORED=$rundir_path/xenstored
XEN_LIB_DIR=$localstatedir/lib/xen
cat >>confdefs.h <<_ACEOF
#define XEN_LIB_DIR "$XEN_LIB_DIR"
_ACEOF
SHAREDIR=$prefix/share
@@ -2073,12 +2108,22 @@ case "$host_os" in
esac
cat >>confdefs.h <<_ACEOF
#define XEN_LOCK_DIR "$XEN_LOCK_DIR"
_ACEOF
XEN_PAGING_DIR=$localstatedir/lib/xen/xenpaging
XEN_DUMP_DIR=$xen_dumpdir_path
cat >>confdefs.h <<_ACEOF
#define XEN_DUMP_DIR "$XEN_DUMP_DIR"
_ACEOF
DEBUG_DIR=$debugdir_path
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.