mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
Support ./configure --host=x86_64-rumpxen-netbsd ./configure --host=i386-rumpxen-netbsd Setting --host tells configure we are cross compiling and therefore has various automatic effects. But in this patch we make some deliberate changes as well: * We disable a large number of configure tests for libraries etc. which don't exist. * We set CONFIG_RUMP in Tools.mk. * Hence, we automatically set XEN_OS. (I have only tested the 32-bit build but I think the 64-bit build should work just as well.) Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Ian Campbell <Ian.Campbell@citrix.com> --- v3: Add comment to `fi' v2: Mention x86_64. Drop an erroneous whitespace change.
74 lines
2.2 KiB
Plaintext
74 lines
2.2 KiB
Plaintext
CONFIG_RUMP := @CONFIG_RUMP@
|
|
ifeq ($(CONFIG_RUMP),y)
|
|
XEN_OS := NetBSDRump
|
|
endif
|
|
|
|
# Prefix and install folder
|
|
prefix := @prefix@
|
|
PREFIX := $(prefix)
|
|
exec_prefix := @exec_prefix@
|
|
libdir := @libdir@
|
|
LIBDIR := $(libdir)
|
|
|
|
# A debug build of tools?
|
|
debug := @debug@
|
|
|
|
# Tools path
|
|
BISON := @BISON@
|
|
FLEX := @FLEX@
|
|
PYTHON := @PYTHON@
|
|
PYTHON_PATH := @PYTHONPATH@
|
|
PERL := @PERL@
|
|
CURL_CONFIG := @CURL@
|
|
XML2_CONFIG := @XML@
|
|
BASH := @BASH@
|
|
XGETTTEXT := @XGETTEXT@
|
|
AS86 := @AS86@
|
|
LD86 := @LD86@
|
|
BCC := @BCC@
|
|
IASL := @IASL@
|
|
FETCHER := @FETCHER@
|
|
SEABIOS_PATH := @seabios_path@
|
|
OVMF_PATH := @ovmf_path@
|
|
|
|
# Extra folder for libs/includes
|
|
PREPEND_INCLUDES := @PREPEND_INCLUDES@
|
|
PREPEND_LIB := @PREPEND_LIB@
|
|
APPEND_INCLUDES := @APPEND_INCLUDES@
|
|
APPEND_LIB := @APPEND_LIB@
|
|
|
|
PTHREAD_CFLAGS := @PTHREAD_CFLAGS@
|
|
PTHREAD_LDFLAGS := @PTHREAD_LDFLAGS@
|
|
PTHREAD_LIBS := @PTHREAD_LIBS@
|
|
|
|
PTYFUNCS_LIBS := @PTYFUNCS_LIBS@
|
|
|
|
# Download GIT repositories via HTTP or GIT's own protocol?
|
|
# GIT's protocol is faster and more robust, when it works at all (firewalls
|
|
# may block it). We make it the default, but if your GIT repository downloads
|
|
# fail or hang, please specify GIT_HTTP=y in your environment.
|
|
GIT_HTTP := @githttp@
|
|
|
|
# Optional components
|
|
XENSTAT_XENTOP := @monitors@
|
|
OCAML_TOOLS := @ocamltools@
|
|
FLASK_POLICY := @xsmpolicy@
|
|
CONFIG_OVMF := @ovmf@
|
|
CONFIG_ROMBIOS := @rombios@
|
|
CONFIG_SEABIOS := @seabios@
|
|
CONFIG_QEMU_TRAD := @qemu_traditional@
|
|
CONFIG_QEMU_XEN := @qemu_xen@
|
|
CONFIG_BLKTAP1 := @blktap1@
|
|
CONFIG_BLKTAP2 := @blktap2@
|
|
CONFIG_VTPM := @vtpm@
|
|
CONFIG_QEMUU_EXTRA_ARGS:= @EXTRA_QEMUU_CONFIGURE_ARGS@
|
|
|
|
#System options
|
|
ZLIB := @zlib@
|
|
CONFIG_LIBICONV := @libiconv@
|
|
CONFIG_GCRYPT := @libgcrypt@
|
|
EXTFS_LIBS := @EXTFS_LIBS@
|
|
CURSES_LIBS := @CURSES_LIBS@
|
|
|
|
FILE_OFFSET_BITS := @FILE_OFFSET_BITS@
|