Commit 1eb37421 authored by René Nussbaumer's avatar René Nussbaumer
Browse files

Add XEN_CMD to _autoconf.py



This is needed so we can specify the xen command upon configure time
Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 592eb0df
......@@ -1138,6 +1138,7 @@ lib/_autoconf.py: Makefile | lib/.dir
echo "ENABLE_CONFD = $(ENABLE_CONFD)"; \
echo "PY_CONFD = $(PY_CONFD)"; \
echo "HS_CONFD = $(HS_CONFD)"; \
echo "XEN_CMD = '$(XEN_CMD)'"; \
} > $@
lib/_vcsversion.py: Makefile vcs-version | lib/.dir
......
......@@ -98,6 +98,19 @@ AC_ARG_WITH([xen-initrd],
[xen_initrd="/boot/initrd-3-xenU"])
AC_SUBST(XEN_INITRD, $xen_initrd)
# --with-xen-cmd=...
AC_ARG_WITH([xen-cmd],
[AS_HELP_STRING([--with-xen-cmd=CMD],
[Sets the xen cli interface command (default is xm)]
)],
[xen_cmd="$withval"],
[xen_cmd="xm"])
AC_SUBST(XEN_CMD, $xen_cmd)
if ! (test "$XEN_CMD" == "xl" || test "$XEN_CMD" == "xm"); then
AC_MSG_ERROR([Unsupported xen command specified])
fi
# --with-kvm-kernel=...
AC_ARG_WITH([kvm-kernel],
[AS_HELP_STRING([--with-kvm-kernel=PATH],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment