We can globally export it from xen/Makefile instead, as all hypervisor
builds have this Makefile at their root.
Signed-off-by: Keir Fraser <keir@xen.org>
export XEN_DOMAIN ?= $(shell ([ -x /bin/dnsdomainname ] && /bin/dnsdomainname) || ([ -x /bin/domainname ] && /bin/domainname || echo [unknown]))
export BASEDIR := $(CURDIR)
+export XEN_ROOT := $(BASEDIR)/..
.PHONY: default
default: build
frame_pointer ?= n
lto ?= n
-XEN_ROOT=$(BASEDIR)/..
include $(XEN_ROOT)/Config.mk
# Hardcoded configuration implications and dependencies.
-XEN_ROOT=../../../..
override XEN_TARGET_ARCH=x86_32
CFLAGS =
include $(XEN_ROOT)/Config.mk
-XEN_ROOT:=$(BASEDIR)/..
include $(XEN_ROOT)/Config.mk
ifneq ($(CONFIG_COMPAT),)
-XEN_ROOT = $(BASEDIR)/..
include $(XEN_ROOT)/Config.mk
.PHONY: default
-XEN_ROOT = $(BASEDIR)/..
include $(XEN_ROOT)/Config.mk
figlet: figlet.c