path: root/config
diff options
authorIan Jackson <ian.jackson@eu.citrix.com>2014-05-28 17:04:52 +0100
committerIan Jackson <Ian.Jackson@eu.citrix.com>2014-07-14 16:07:50 +0100
commit69ba39ec0501874f7fa028362c864d67ee29fadc (patch)
tree18b01948cc7c9418ad2b62a7126620c085c76bc5 /config
parent70d597d0efb85459ee8f7c1498f22ee7ffd390dd (diff)
rump kernels: Handle rumpxen host in configure
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.
Diffstat (limited to 'config')
1 files changed, 5 insertions, 0 deletions
diff --git a/config/Tools.mk.in b/config/Tools.mk.in
index 852c941d68..748cc69c6b 100644
--- a/config/Tools.mk.in
+++ b/config/Tools.mk.in
@@ -1,3 +1,8 @@
+ifeq ($(CONFIG_RUMP),y)
+XEN_OS := NetBSDRump
# Prefix and install folder
prefix := @prefix@
PREFIX := $(prefix)