mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools/hotplug: Generate "hotplugpath.sh" with configure
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com> Release-acked-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
1 parent
40d96f0c7d
commit
f3fae4184f
4 files changed
+21
-9
No files matched your search
Vendored
+2
-1
@@ -2456,7 +2456,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files ../config/Tools.mk hotplug/FreeBSD/rc.d/xencommons hotplug/FreeBSD/rc.d/xendriverdomain hotplug/Linux/init.d/sysconfig.xencommons hotplug/Linux/init.d/sysconfig.xendomains hotplug/Linux/init.d/xen-watchdog hotplug/Linux/init.d/xencommons hotplug/Linux/init.d/xendomains hotplug/Linux/init.d/xendriverdomain hotplug/Linux/launch-xenstore hotplug/Linux/vif-setup hotplug/Linux/xen-hotplug-common.sh hotplug/Linux/xendomains hotplug/NetBSD/rc.d/xencommons hotplug/NetBSD/rc.d/xendriverdomain ocaml/libs/xs/paths.ml ocaml/xenstored/paths.ml ocaml/xenstored/oxenstored.conf"
|
||||
ac_config_files="$ac_config_files ../config/Tools.mk hotplug/common/hotplugpath.sh hotplug/FreeBSD/rc.d/xencommons hotplug/FreeBSD/rc.d/xendriverdomain hotplug/Linux/init.d/sysconfig.xencommons hotplug/Linux/init.d/sysconfig.xendomains hotplug/Linux/init.d/xen-watchdog hotplug/Linux/init.d/xencommons hotplug/Linux/init.d/xendomains hotplug/Linux/init.d/xendriverdomain hotplug/Linux/launch-xenstore hotplug/Linux/vif-setup hotplug/Linux/xen-hotplug-common.sh hotplug/Linux/xendomains hotplug/NetBSD/rc.d/xencommons hotplug/NetBSD/rc.d/xendriverdomain ocaml/libs/xs/paths.ml ocaml/xenstored/paths.ml ocaml/xenstored/oxenstored.conf"
|
||||
|
||||
ac_config_headers="$ac_config_headers config.h"
|
||||
|
||||
@@ -10947,6 +10947,7 @@ for ac_config_target in $ac_config_targets
|
||||
do
|
||||
case $ac_config_target in
|
||||
"../config/Tools.mk") CONFIG_FILES="$CONFIG_FILES ../config/Tools.mk" ;;
|
||||
"hotplug/common/hotplugpath.sh") CONFIG_FILES="$CONFIG_FILES hotplug/common/hotplugpath.sh" ;;
|
||||
"hotplug/FreeBSD/rc.d/xencommons") CONFIG_FILES="$CONFIG_FILES hotplug/FreeBSD/rc.d/xencommons" ;;
|
||||
"hotplug/FreeBSD/rc.d/xendriverdomain") CONFIG_FILES="$CONFIG_FILES hotplug/FreeBSD/rc.d/xendriverdomain" ;;
|
||||
"hotplug/Linux/init.d/sysconfig.xencommons") CONFIG_FILES="$CONFIG_FILES hotplug/Linux/init.d/sysconfig.xencommons" ;;
|
||||
|
||||
@@ -7,6 +7,7 @@ AC_INIT([Xen Hypervisor Tools], m4_esyscmd([../version.sh ../xen/Makefile]),
|
||||
AC_CONFIG_SRCDIR([libs/light/libxl.c])
|
||||
AC_CONFIG_FILES([
|
||||
../config/Tools.mk
|
||||
hotplug/common/hotplugpath.sh
|
||||
hotplug/FreeBSD/rc.d/xencommons
|
||||
hotplug/FreeBSD/rc.d/xendriverdomain
|
||||
hotplug/Linux/init.d/sysconfig.xencommons
|
||||
|
||||
@@ -1,19 +1,14 @@
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
HOTPLUGPATH := hotplugpath.sh
|
||||
|
||||
# OS-independent hotplug scripts go in this directory
|
||||
|
||||
# Xen scripts to go there.
|
||||
XEN_SCRIPTS :=
|
||||
XEN_SCRIPT_DATA := $(HOTPLUGPATH)
|
||||
|
||||
genpath-target = $(call buildmakevars2file,$(HOTPLUGPATH))
|
||||
$(eval $(genpath-target))
|
||||
XEN_SCRIPT_DATA := hotplugpath.sh
|
||||
|
||||
.PHONY: all
|
||||
all: $(HOTPLUGPATH)
|
||||
all:
|
||||
|
||||
.PHONY: install
|
||||
install: install-scripts
|
||||
@@ -40,7 +35,6 @@ uninstall-scripts:
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f $(HOTPLUGPATH)
|
||||
|
||||
.PHONY: distclean
|
||||
distclean: clean
|
||||
@@ -0,0 +1,16 @@
|
||||
sbindir="@sbindir@"
|
||||
bindir="@bindir@"
|
||||
LIBEXEC="@LIBEXEC@"
|
||||
LIBEXEC_BIN="@LIBEXEC_BIN@"
|
||||
libdir="@libdir@"
|
||||
SHAREDIR="@SHAREDIR@"
|
||||
XENFIRMWAREDIR="@XENFIRMWAREDIR@"
|
||||
XEN_CONFIG_DIR="@XEN_CONFIG_DIR@"
|
||||
XEN_SCRIPT_DIR="@XEN_SCRIPT_DIR@"
|
||||
XEN_LOCK_DIR="@XEN_LOCK_DIR@"
|
||||
XEN_RUN_DIR="@XEN_RUN_DIR@"
|
||||
XEN_PAGING_DIR="@XEN_PAGING_DIR@"
|
||||
XEN_DUMP_DIR="@XEN_DUMP_DIR@"
|
||||
XEN_LOG_DIR="@XEN_LOG_DIR@"
|
||||
XEN_LIB_DIR="@XEN_LIB_DIR@"
|
||||
XEN_RUN_STORED="@XEN_RUN_STORED@"
|
||||