]> xenbits.xensource.com Git - people/liuw/mini-os.git/commitdiff
stubdom: do not use realpath, new in make 3.81
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 11 Jul 2008 11:45:06 +0000 (12:45 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 11 Jul 2008 11:45:06 +0000 (12:45 +0100)
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Config.mk

index a6a738a68f4270a278905c832a1d55222e1dd798..a1a2283ecc2be46e9a4a9decf72d10394690a5e2 100644 (file)
--- a/Config.mk
+++ b/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 $(realpath $(MINI-OS_ROOT)/include/$(dir)))
+extra_incl := $(foreach dir,$(EXTRA_INC),-isystem $(CURDIR)/$(MINI-OS_ROOT)/include/$(dir))
 
-DEF_CPPFLAGS += -isystem $(realpath $(MINI-OS_ROOT)/include)
+DEF_CPPFLAGS += -isystem $(CURDIR)/$(MINI-OS_ROOT)/include
 DEF_CPPFLAGS += -D__MINIOS__
 
 ifeq ($(libc),y)
 DEF_CPPFLAGS += -DHAVE_LIBC
-DEF_CPPFLAGS += -isystem $(realpath $(MINI-OS_ROOT)/include/posix)
-DEF_CPPFLAGS += -isystem $(realpath $(XEN_ROOT)/tools/xenstore)
+DEF_CPPFLAGS += -isystem $(CURDIR)/$(MINI-OS_ROOT)/include/posix
+DEF_CPPFLAGS += -isystem $(CURDIR)/$(XEN_ROOT)/tools/xenstore
 endif
 
 ifneq ($(LWIPDIR),)