From: Keir Fraser Date: Fri, 11 Jul 2008 11:45:06 +0000 (+0100) Subject: stubdom: do not use realpath, new in make 3.81 X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14188^2~45 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e7329de45302e749a31a6f7ea2889ce8e2ff8e75;p=xen.git stubdom: do not use realpath, new in make 3.81 Signed-off-by: Samuel Thibault --- diff --git a/extras/mini-os/Config.mk b/extras/mini-os/Config.mk index a6a738a68f..a1a2283ecc 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 $(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 --git a/stubdom/Makefile b/stubdom/Makefile index 00e8e935f2..c846ec4b35 100644 --- a/stubdom/Makefile +++ b/stubdom/Makefile @@ -51,7 +51,7 @@ TARGET_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,) 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