|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-changelog
[Xen-changelog] [xen-unstable] stubdom: do not use realpath,	new in make
 
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1215776706 -3600
# Node ID 03f685b6356a918b5990da32616383bd1040842c
# Parent  1e91c9a4a3f317f70b90d2ef80e07718d74ab7e5
stubdom: do not use realpath, new in make 3.81
Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
 extras/mini-os/Config.mk |    8 ++++----
 stubdom/Makefile         |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
diff -r 1e91c9a4a3f3 -r 03f685b6356a extras/mini-os/Config.mk
--- a/extras/mini-os/Config.mk  Fri Jul 11 12:44:15 2008 +0100
+++ b/extras/mini-os/Config.mk  Fri Jul 11 12:45:06 2008 +0100
@@ -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),)
diff -r 1e91c9a4a3f3 -r 03f685b6356a stubdom/Makefile
--- a/stubdom/Makefile  Fri Jul 11 12:44:15 2008 +0100
+++ b/stubdom/Makefile  Fri Jul 11 12:45:06 2008 +0100
@@ -51,7 +51,7 @@ GCC_INSTALL = $(shell gcc -print-search-
 GCC_INSTALL = $(shell gcc -print-search-dirs | sed -n -e 's/install: 
\(.*\)/\1/p')
 TARGET_CPPFLAGS += -U __linux__ -U __FreeBSD__ -U __sun__
 TARGET_CPPFLAGS += -nostdinc
-TARGET_CPPFLAGS += -isystem $(abspath $(MINI_OS)/include/posix)
+TARGET_CPPFLAGS += -isystem $(CURDIR)/$(MINI_OS)/include/posix
 TARGET_CPPFLAGS += -isystem $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include
 TARGET_CPPFLAGS += -isystem $(GCC_INSTALL)include
 TARGET_CPPFLAGS += -isystem $(CURDIR)/lwip-cvs/src/include
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-changelog] [xen-unstable] stubdom: do not use realpath,	new in make 3.81,
Xen patchbot-unstable <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |