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>
xen-unstable changeset: 23048:
5069eaaa9f79
xen-unstable date: Thu Mar 17 08:04:10 2011 +0000
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
crash_debug ?= n
frame_pointer ?= 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