From 547cb1849c1d6338d3141817f67c3ddd2c2beff5 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 17 Mar 2011 10:36:25 +0000 Subject: build: Make XEN_ROOT an absolute path. Otherwise make can search the path relative to certain standard paths such as /usr/include (e.g., the line '-include $(XEN_ROOT)/.config' in Config.mk suffers from this). Signed-off-by: Keir Fraser --- stubdom/pciutils.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stubdom/pciutils.patch') diff --git a/stubdom/pciutils.patch b/stubdom/pciutils.patch index ce9e987b2c..5ab84d6cce 100644 --- a/stubdom/pciutils.patch +++ b/stubdom/pciutils.patch @@ -38,7 +38,7 @@ diff -urN pciutils-2.2.9.orig/lib/access.c pciutils-2.2.9/lib/access.c endif +ifdef PCI_OS_MINIOS -+XEN_ROOT=../../.. ++XEN_ROOT=$(CURDIR)/../../.. +include $(XEN_ROOT)/Config.mk +OBJS += minios.o +endif -- cgit v1.2.3