mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
build: introduce and export XEN_LIB_DIR
This variable defaults to /var/lib/xen. It will be used to substitute various hard-coded paths in tools. The new variable points to $localstatedir/lib/xen, which defaults to /var/lib/xen, so there is no change in default configuration. Signed-off-by: Wei Liu <wei.liu2@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
This commit is contained in:
1 parent
a4fa83e568
commit
15f1a11d66
5 files changed
+14
-1
No files matched your search
@@ -181,7 +181,8 @@ endef
|
||||
|
||||
BUILD_MAKE_VARS := sbindir bindir LIBEXEC LIBEXEC_BIN libdir SHAREDIR \
|
||||
XENFIRMWAREDIR XEN_CONFIG_DIR XEN_SCRIPT_DIR XEN_LOCK_DIR \
|
||||
XEN_RUN_DIR XEN_PAGING_DIR XEN_DUMP_DIR XEN_LOG_DIR
|
||||
XEN_RUN_DIR XEN_PAGING_DIR XEN_DUMP_DIR XEN_LOG_DIR \
|
||||
XEN_LIB_DIR
|
||||
|
||||
buildmakevars2file = $(eval $(call buildmakevars2file-closure,$(1)))
|
||||
define buildmakevars2file-closure
|
||||
|
||||
@@ -40,6 +40,7 @@ MAN8DIR := $(mandir)/man8
|
||||
|
||||
XEN_RUN_DIR := @XEN_RUN_DIR@
|
||||
XEN_LOG_DIR := @XEN_LOG_DIR@
|
||||
XEN_LIB_DIR := @XEN_LIB_DIR@
|
||||
XEN_LIB_STORED := @XEN_LIB_STORED@
|
||||
|
||||
CONFIG_DIR := @CONFIG_DIR@
|
||||
|
||||
@@ -603,6 +603,7 @@ XEN_CONFIG_DIR
|
||||
INITD_DIR
|
||||
CONFIG_DIR
|
||||
SHAREDIR
|
||||
XEN_LIB_DIR
|
||||
XEN_LIB_STORED
|
||||
XEN_LOG_DIR
|
||||
XEN_RUN_DIR
|
||||
@@ -1980,6 +1981,9 @@ XEN_LOG_DIR=$localstatedir/log/xen
|
||||
XEN_LIB_STORED=$localstatedir/lib/xenstored
|
||||
|
||||
|
||||
XEN_LIB_DIR=$localstatedir/lib/xen
|
||||
|
||||
|
||||
SHAREDIR=$prefix/share
|
||||
|
||||
|
||||
|
||||
@@ -107,6 +107,9 @@ AC_SUBST(XEN_LOG_DIR)
|
||||
XEN_LIB_STORED=$localstatedir/lib/xenstored
|
||||
AC_SUBST(XEN_LIB_STORED)
|
||||
|
||||
XEN_LIB_DIR=$localstatedir/lib/xen
|
||||
AC_SUBST(XEN_LIB_DIR)
|
||||
|
||||
SHAREDIR=$prefix/share
|
||||
AC_SUBST(SHAREDIR)
|
||||
|
||||
|
||||
Vendored
+4
@@ -722,6 +722,7 @@ XEN_CONFIG_DIR
|
||||
INITD_DIR
|
||||
CONFIG_DIR
|
||||
SHAREDIR
|
||||
XEN_LIB_DIR
|
||||
XEN_LIB_STORED
|
||||
XEN_LOG_DIR
|
||||
XEN_RUN_DIR
|
||||
@@ -3939,6 +3940,9 @@ XEN_LOG_DIR=$localstatedir/log/xen
|
||||
XEN_LIB_STORED=$localstatedir/lib/xenstored
|
||||
|
||||
|
||||
XEN_LIB_DIR=$localstatedir/lib/xen
|
||||
|
||||
|
||||
SHAREDIR=$prefix/share
|
||||
|
||||
|
||||
|
||||