Commit 64936f32 authored by Keir Fraser's avatar Keir Fraser

Do not re-define XEN_ROOT in hypervisor sub-Makefiles.

We can globally export it from xen/Makefile instead, as all hypervisor
builds have this Makefile at their root.
Signed-off-by: default avatarKeir Fraser <keir@xen.org>
parent 25557458
......@@ -10,6 +10,7 @@ export XEN_WHOAMI ?= $(USER)
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
......
......@@ -11,7 +11,6 @@ crash_debug ?= n
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
......
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