aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/Config.mk
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2011-03-17 10:36:25 +0000
committerKeir Fraser <keir@xen.org>2011-03-17 10:36:25 +0000
commit547cb1849c1d6338d3141817f67c3ddd2c2beff5 (patch)
tree2536c4884d8230ae2295098d4139f99d00bfffac /extras/mini-os/Config.mk
parentfd515be3e4ac3d44d4aa2e7ee5de1f44965fdbee (diff)
downloadxen-547cb1849c1d6338d3141817f67c3ddd2c2beff5.tar.gz
xen-547cb1849c1d6338d3141817f67c3ddd2c2beff5.tar.bz2
xen-547cb1849c1d6338d3141817f67c3ddd2c2beff5.zip
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 <keir@xen.org>
Diffstat (limited to 'extras/mini-os/Config.mk')
-rw-r--r--extras/mini-os/Config.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/extras/mini-os/Config.mk b/extras/mini-os/Config.mk
index a1a2283ecc..806d4ff8fd 100644
--- a/extras/mini-os/Config.mk
+++ b/extras/mini-os/Config.mk
@@ -38,15 +38,15 @@ EXTRA_INC = $(ARCH_INC)
# This must be before include minios.mk!
include $(MINI-OS_ROOT)/$(TARGET_ARCH_DIR)/arch.mk
-extra_incl := $(foreach dir,$(EXTRA_INC),-isystem $(CURDIR)/$(MINI-OS_ROOT)/include/$(dir))
+extra_incl := $(foreach dir,$(EXTRA_INC),-isystem $(MINI-OS_ROOT)/include/$(dir))
-DEF_CPPFLAGS += -isystem $(CURDIR)/$(MINI-OS_ROOT)/include
+DEF_CPPFLAGS += -isystem $(MINI-OS_ROOT)/include
DEF_CPPFLAGS += -D__MINIOS__
ifeq ($(libc),y)
DEF_CPPFLAGS += -DHAVE_LIBC
-DEF_CPPFLAGS += -isystem $(CURDIR)/$(MINI-OS_ROOT)/include/posix
-DEF_CPPFLAGS += -isystem $(CURDIR)/$(XEN_ROOT)/tools/xenstore
+DEF_CPPFLAGS += -isystem $(MINI-OS_ROOT)/include/posix
+DEF_CPPFLAGS += -isystem $(XEN_ROOT)/tools/xenstore
endif
ifneq ($(LWIPDIR),)