mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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>
This commit is contained in:
1 parent
fd515be3e4
commit
547cb1849c
106 files changed
+136
-156
No files matched your search
@@ -102,27 +102,10 @@ define cc-ver-check-closure
|
||||
endif
|
||||
endef
|
||||
|
||||
define absolutify_xen_root
|
||||
case "$(XEN_ROOT)" in \
|
||||
/*) XEN_ROOT=$(XEN_ROOT) ;; \
|
||||
*) xen_root_lhs=`pwd`; \
|
||||
xen_root_rhs=$(XEN_ROOT)/; \
|
||||
while [ "x$${xen_root_rhs#../}" != "x$$xen_root_rhs" ]; do \
|
||||
xen_root_rhs="$${xen_root_rhs#../}"; \
|
||||
xen_root_rhs="$${xen_root_rhs#/}"; \
|
||||
xen_root_rhs="$${xen_root_rhs#/}"; \
|
||||
xen_root_lhs="$${xen_root_lhs%/*}"; \
|
||||
done; \
|
||||
XEN_ROOT="$$xen_root_lhs/$$xen_root_rhs" ;; \
|
||||
esac; \
|
||||
export XEN_ROOT
|
||||
endef
|
||||
|
||||
define buildmakevars2shellvars
|
||||
PREFIX="$(PREFIX)"; \
|
||||
XEN_SCRIPT_DIR="$(XEN_SCRIPT_DIR)"; \
|
||||
export PREFIX; \
|
||||
export XEN_SCRIPT_DIR
|
||||
export PREFIX="$(PREFIX)"; \
|
||||
export XEN_SCRIPT_DIR="$(XEN_SCRIPT_DIR)"; \
|
||||
export XEN_ROOT="$(XEN_ROOT)"
|
||||
endef
|
||||
|
||||
buildmakevars2file = $(eval $(call buildmakevars2file-closure,$(1)))
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
XEN_ROOT=..
|
||||
XEN_ROOT=$(CURDIR)/..
|
||||
include $(XEN_ROOT)/Config.mk
|
||||
include $(XEN_ROOT)/docs/Docs.mk
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
XEN_ROOT=../..
|
||||
XEN_ROOT=$(CURDIR)/../..
|
||||
include $(XEN_ROOT)/Config.mk
|
||||
include $(XEN_ROOT)/docs/Docs.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),)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
# Makefile and a arch.mk.
|
||||
#
|
||||
|
||||
export XEN_ROOT = ../..
|
||||
export XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/Config.mk
|
||||
OBJ_DIR ?= $(CURDIR)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Special makefile for ia64.
|
||||
#
|
||||
|
||||
XEN_ROOT = ../../../..
|
||||
XEN_ROOT = $(CURDIR)/../../../..
|
||||
include $(XEN_ROOT)/Config.mk
|
||||
|
||||
include ../../Config.mk
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# It's is used for x86_32, x86_32y and x86_64
|
||||
#
|
||||
|
||||
XEN_ROOT = ../../../..
|
||||
XEN_ROOT = $(CURDIR)/../../../..
|
||||
include $(XEN_ROOT)/Config.mk
|
||||
include ../../Config.mk
|
||||
|
||||
|
||||
+15
-16
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ..
|
||||
XEN_ROOT = $(CURDIR)/..
|
||||
MINI_OS = $(XEN_ROOT)/extras/mini-os
|
||||
|
||||
export XEN_OS=MiniOS
|
||||
@@ -64,7 +64,7 @@ $(call cc-options-add,TARGET_CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS))
|
||||
GCC_INSTALL = $(shell LANG=C 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 $(CURDIR)/$(MINI_OS)/include/posix
|
||||
TARGET_CPPFLAGS += -isystem $(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-$(XEN_TARGET_ARCH)/src/include
|
||||
@@ -224,7 +224,7 @@ $(XEN_ROOT)/tools/ioemu-dir:
|
||||
ioemu/linkfarm.stamp: $(XEN_ROOT)/tools/ioemu-dir
|
||||
mkdir -p ioemu
|
||||
set -e; \
|
||||
$(absolutify_xen_root); \
|
||||
$(buildmakevars2shellvars); \
|
||||
cd ioemu; \
|
||||
src="$$XEN_ROOT/tools/ioemu-dir"; export src; \
|
||||
(cd $$src && find * -type d -print) | xargs mkdir -p; \
|
||||
@@ -244,24 +244,24 @@ endif
|
||||
|
||||
mk-headers-$(XEN_TARGET_ARCH): ioemu/linkfarm.stamp
|
||||
mkdir -p include/xen && \
|
||||
ln -sf $(addprefix ../../,$(wildcard $(XEN_ROOT)/xen/include/public/*.h)) include/xen && \
|
||||
ln -sf $(addprefix ../../$(XEN_ROOT)/xen/include/public/,arch-ia64 arch-x86 hvm io xsm) include/xen && \
|
||||
( [ -h include/xen/sys ] || ln -sf ../../$(XEN_ROOT)/tools/include/xen-sys/MiniOS include/xen/sys ) && \
|
||||
( [ -h include/xen/libelf ] || ln -sf ../../$(XEN_ROOT)/tools/include/xen/libelf include/xen/libelf ) && \
|
||||
ln -sf $(wildcard $(XEN_ROOT)/xen/include/public/*.h) include/xen && \
|
||||
ln -sf $(addprefix $(XEN_ROOT)/xen/include/public/,arch-ia64 arch-x86 hvm io xsm) include/xen && \
|
||||
( [ -h include/xen/sys ] || ln -sf $(XEN_ROOT)/tools/include/xen-sys/MiniOS include/xen/sys ) && \
|
||||
( [ -h include/xen/libelf ] || ln -sf $(XEN_ROOT)/tools/include/xen/libelf include/xen/libelf ) && \
|
||||
mkdir -p include/xen-foreign && \
|
||||
ln -sf $(addprefix ../../,$(wildcard $(XEN_ROOT)/tools/include/xen-foreign/*)) include/xen-foreign/ && \
|
||||
ln -sf $(wildcard $(XEN_ROOT)/tools/include/xen-foreign/*) include/xen-foreign/ && \
|
||||
$(CROSS_MAKE) -C include/xen-foreign/ && \
|
||||
( [ -h include/xen/foreign ] || ln -sf ../xen-foreign include/xen/foreign )
|
||||
mkdir -p libxc-$(XEN_TARGET_ARCH)
|
||||
[ -h libxc-$(XEN_TARGET_ARCH)/Makefile ] || ( cd libxc-$(XEN_TARGET_ARCH) && \
|
||||
ln -sf ../$(XEN_ROOT)/tools/libxc/*.h . && \
|
||||
ln -sf ../$(XEN_ROOT)/tools/libxc/*.c . && \
|
||||
ln -sf ../$(XEN_ROOT)/tools/libxc/Makefile . )
|
||||
ln -sf $(XEN_ROOT)/tools/libxc/*.h . && \
|
||||
ln -sf $(XEN_ROOT)/tools/libxc/*.c . && \
|
||||
ln -sf $(XEN_ROOT)/tools/libxc/Makefile . )
|
||||
mkdir -p libxc-$(XEN_TARGET_ARCH)/$(XEN_TARGET_ARCH)
|
||||
[ -h libxc-$(XEN_TARGET_ARCH)/$(XEN_TARGET_ARCH) ] || ( cd libxc-$(XEN_TARGET_ARCH)/$(XEN_TARGET_ARCH) && \
|
||||
ln -sf ../$(XEN_ROOT)/tools/libxc/$(XEN_TARGET_ARCH)/*.c . && \
|
||||
ln -sf ../$(XEN_ROOT)/tools/libxc/$(XEN_TARGET_ARCH)/*.h . && \
|
||||
ln -sf ../$(XEN_ROOT)/tools/libxc/$(XEN_TARGET_ARCH)/Makefile . )
|
||||
ln -sf $(XEN_ROOT)/tools/libxc/$(XEN_TARGET_ARCH)/*.c . && \
|
||||
ln -sf $(XEN_ROOT)/tools/libxc/$(XEN_TARGET_ARCH)/*.h . && \
|
||||
ln -sf $(XEN_ROOT)/tools/libxc/$(XEN_TARGET_ARCH)/Makefile . )
|
||||
$(CROSS_MAKE) -C $(MINI_OS) links
|
||||
touch mk-headers-$(XEN_TARGET_ARCH)
|
||||
|
||||
@@ -290,8 +290,7 @@ libxc-$(XEN_TARGET_ARCH)/libxenctrl.a: cross-zlib
|
||||
.PHONY: ioemu
|
||||
ioemu: cross-zlib cross-libpci libxc
|
||||
[ -f ioemu/config-host.mak ] || \
|
||||
( $(absolutify_xen_root); \
|
||||
$(buildmakevars2shellvars); \
|
||||
( $(buildmakevars2shellvars); \
|
||||
cd ioemu ; \
|
||||
LWIPDIR=$(CURDIR)/lwip-$(XEN_TARGET_ARCH) \
|
||||
TARGET_CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
|
||||
include $(XEN_ROOT)/Config.mk
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
|
||||
include $(XEN_ROOT)/Config.mk
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
|
||||
include $(XEN_ROOT)/Config.mk
|
||||
vpath %.c ../grub-upstream
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-3
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ..
|
||||
XEN_ROOT = $(CURDIR)/..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
SUBDIRS-y :=
|
||||
@@ -105,7 +105,6 @@ ioemu-dir-find:
|
||||
ln -sf ioemu-remote ioemu-dir; \
|
||||
fi
|
||||
set -e; \
|
||||
$(absolutify_xen_root); \
|
||||
$(buildmakevars2shellvars); \
|
||||
cd ioemu-dir; \
|
||||
$(QEMU_ROOT)/xen-setup $(IOEMU_CONFIGURE_CROSS)
|
||||
@@ -123,7 +122,6 @@ subdir-all-ioemu-dir subdir-install-ioemu-dir: ioemu-dir-find
|
||||
|
||||
subdir-clean-ioemu-dir:
|
||||
set -e; if test -d ioemu-dir/.; then \
|
||||
$(absolutify_xen_root); \
|
||||
$(buildmakevars2shellvars); \
|
||||
$(MAKE) -C ioemu-dir clean; \
|
||||
fi
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
SUBDIRS-y :=
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
IBIN = blktapctrl tapdisk
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
MAJOR = 3.0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
CFLAGS += $(CFLAGS_libxenctrl)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT := ../../../
|
||||
XEN_ROOT := $(CURDIR)/../../../
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
MAJOR = 1.0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT=../../..
|
||||
XEN_ROOT=$(CURDIR)/../../..
|
||||
BLKTAP_ROOT= ..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT := ../../..
|
||||
XEN_ROOT := $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
.PHONY: all
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
BLKTAP_ROOT := ..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT=../../..
|
||||
XEN_ROOT=$(CURDIR)/../../..
|
||||
BLKTAP_ROOT := ..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT=../../../..
|
||||
XEN_ROOT=$(CURDIR)/../../../..
|
||||
BLKTAP_ROOT := ../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
.PHONY: all install
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
XEN_ROOT=../..
|
||||
XEN_ROOT=$(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
CFLAGS += -Werror
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
LDFLAGS=-static
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include ./Rules.mk
|
||||
|
||||
.PHONY: all
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../../..
|
||||
XEN_ROOT = $(CURDIR)/../../../..
|
||||
include ../Rules.mk
|
||||
|
||||
GX_OBJS := gx_comm.o gx_main.o gx_utils.o gx_local.o
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../../..
|
||||
XEN_ROOT = $(CURDIR)/../../../..
|
||||
include ../Rules.mk
|
||||
|
||||
XG_HDRS := xg_public.h
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
CFLAGS += $(CFLAGS_libxenctrl)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT=../../..
|
||||
XEN_ROOT=$(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
#CFLAGS += -Werror -g -O0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
# Init scripts.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
# hvmloader is a 32-bit protected mode binary.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
override XEN_TARGET_ARCH = x86_32
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
include Config
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
# Place - Suite 330, Boston, MA 02111-1307 USA.
|
||||
#
|
||||
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/firmware/Rules.mk
|
||||
|
||||
SUBDIRS := acpi
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
# Place - Suite 330, Boston, MA 02111-1307 USA.
|
||||
#
|
||||
|
||||
XEN_ROOT = ../../../..
|
||||
XEN_ROOT = $(CURDIR)/../../../..
|
||||
include $(XEN_ROOT)/tools/firmware/Rules.mk
|
||||
|
||||
C_SRC = build.c dsdt_anycpu.c dsdt_15cpu.c static_tables.c
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../../..
|
||||
XEN_ROOT = $(CURDIR)/../../../..
|
||||
include $(XEN_ROOT)/tools/firmware/Rules.mk
|
||||
|
||||
TARGET = 32bitbios_flat.h
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../../../..
|
||||
XEN_ROOT = $(CURDIR)/../../../../..
|
||||
include $(XEN_ROOT)/tools/firmware/Rules.mk
|
||||
|
||||
TARGET = tcgbiosext.o
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
SUBDIRS := 32bit
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
SUBDIRS :=
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
MAJOR = 1.0
|
||||
MINOR = 0
|
||||
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
XEN_LIBXC = $(XEN_ROOT)/tools/libxc
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT=../../..
|
||||
XEN_ROOT=$(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
XEN_LIBXC = $(XEN_ROOT)/tools/libxc
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
# Init scripts.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
SUBDIRS-y := common
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
# Xen script dir and scripts to go there.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
HOTPLUGPATH="hotplugpath.sh"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
.PHONY: all
|
||||
@@ -11,11 +11,11 @@ xen-foreign:
|
||||
xen/.dir:
|
||||
@rm -rf xen
|
||||
mkdir -p xen/libelf
|
||||
ln -sf ../$(XEN_ROOT)/xen/include/public/COPYING xen
|
||||
ln -sf $(addprefix ../,$(wildcard $(XEN_ROOT)/xen/include/public/*.h)) xen
|
||||
ln -sf $(addprefix ../$(XEN_ROOT)/xen/include/public/,arch-ia64 arch-x86 hvm io xsm) xen
|
||||
ln -sf $(XEN_ROOT)/xen/include/public/COPYING xen
|
||||
ln -sf $(wildcard $(XEN_ROOT)/xen/include/public/*.h) xen
|
||||
ln -sf $(addprefix $(XEN_ROOT)/xen/include/public/,arch-ia64 arch-x86 hvm io xsm) xen
|
||||
ln -sf ../xen-sys/$(XEN_OS) xen/sys
|
||||
ln -sf $(addprefix ../../$(XEN_ROOT)/xen/include/xen/,libelf.h elfstructs.h) xen/libelf/
|
||||
ln -sf $(addprefix $(XEN_ROOT)/xen/include/xen/,libelf.h elfstructs.h) xen/libelf/
|
||||
ln -s ../xen-foreign xen/foreign
|
||||
touch $@
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT=../../..
|
||||
XEN_ROOT=$(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
ROOT = $(XEN_ROOT)/xen/include/public
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
prefix=$(PREFIX)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
SUBDIRS-y = common ufs reiserfs iso9660 fat zfs
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
MAJOR = 1.0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
|
||||
LIB_SRCS-y = ext2fs-lib.c
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
|
||||
LIB_SRCS-y = fsys_ext2fs.c
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
|
||||
LIB_SRCS-y = fsys_fat.c
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
|
||||
LIB_SRCS-y = fsys_iso9660.c
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
|
||||
LIB_SRCS-y = fsys_reiserfs.c
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
|
||||
LIB_SRCS-y = fsys_ufs.c
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
|
||||
CFLAGS += -DFSYS_ZFS -DFSIMAGE -I$(XEN_ROOT)/tools/libfsimage/zfs
|
||||
LIB_SRCS-y = zfs_lzjb.c zfs_sha256.c zfs_fletcher.c fsi_zfs.c fsys_zfs.c
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
MAJOR = 4.0
|
||||
|
||||
@@ -14,7 +14,7 @@ DOMFW_SRCS_BASE := dom_fw_common.c dom_fw_domu.c dom_fw_asm.S
|
||||
endif
|
||||
DOMFW_SRCS := $(addprefix ia64/, $(DOMFW_SRCS_BASE))
|
||||
$(DOMFW_SRCS):
|
||||
ln -sf ../$(XEN_ROOT)/xen/arch/ia64/xen/$(@F) $@
|
||||
ln -sf $(XEN_ROOT)/xen/arch/ia64/xen/$(@F) $@
|
||||
|
||||
# XXX kludge: libxc/Makefile doesn't understand .S.
|
||||
GUEST_SRCS-y += $(patsubst %.S, %.c, $(DOMFW_SRCS))
|
||||
@@ -29,7 +29,7 @@ CFLAGS += -Iia64
|
||||
DOMFW_ASM_HDRS_BASE := bundle.h dom_fw.h dom_fw_common.h dom_fw_domu.h
|
||||
DOMFW_ASM_HDRS := $(addprefix ia64/asm/, $(DOMFW_ASM_HDRS_BASE))
|
||||
$(DOMFW_ASM_HDRS): ia64/asm
|
||||
ln -sf ../../$(XEN_ROOT)/xen/include/asm-ia64/$(@F) $@
|
||||
ln -sf $(XEN_ROOT)/xen/include/asm-ia64/$(@F) $@
|
||||
build: $(DOMFW_ASM_HDR)
|
||||
|
||||
.PHONY: mk-symlinks-acpi mk-symlinks-misc ia64-clean
|
||||
@@ -43,12 +43,12 @@ $(IA64_EMPTY_FILES): $(IA64_HDR_DIRS)
|
||||
echo "/* automatically created dummy empty header file. */" > $@
|
||||
|
||||
mk-symlinks-acpi: $(IA64_HDR_DIRS) $(IA64_EMPTY_FILES) $(DOMFW_ASM_HDRS)
|
||||
( cd ia64/acpi && ln -sf ../../$(XEN_ROOT)/xen/include/acpi/*.h .)
|
||||
( cd ia64/acpi/platform && ln -sf ../../../$(XEN_ROOT)/xen/include/acpi/platform/*.h .)
|
||||
( cd ia64/xen && ln -sf ../../$(XEN_ROOT)/xen/include/xen/acpi.h .)
|
||||
( cd ia64/acpi && ln -sf $(XEN_ROOT)/xen/include/acpi/*.h .)
|
||||
( cd ia64/acpi/platform && ln -sf $(XEN_ROOT)/xen/include/acpi/platform/*.h .)
|
||||
( cd ia64/xen && ln -sf $(XEN_ROOT)/xen/include/xen/acpi.h .)
|
||||
mk-symlinks-misc: $(IA64_HDR_DIRS)
|
||||
( cd ia64/asm && ln -sf ../../$(XEN_ROOT)/xen/include/asm-ia64/linux-xen/asm/kregs.h .)
|
||||
( cd ia64/asm && ln -sf ../../$(XEN_ROOT)/xen/include/asm-ia64/linux/asm/fpswa.h .)
|
||||
( cd ia64/asm && ln -sf $(XEN_ROOT)/xen/include/asm-ia64/linux-xen/asm/kregs.h .)
|
||||
( cd ia64/asm && ln -sf $(XEN_ROOT)/xen/include/asm-ia64/linux/asm/fpswa.h .)
|
||||
build: mk-symlinks-acpi mk-symlinks-misc
|
||||
|
||||
clean: ia64-clean
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
# License along with this library; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
XEN_ROOT=../..
|
||||
XEN_ROOT=$(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
MAJOR = 1.0
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# tools/libxl/Makefile
|
||||
#
|
||||
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
MAJOR = 1.0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
LIBMEMSHR-BUILD := libmemshr.a
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT=../..
|
||||
XEN_ROOT=$(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
CFLAGS += -Werror
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT=../../..
|
||||
XEN_ROOT=$(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
CFLAGS += -Werror
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT:=../../..
|
||||
XEN_ROOT:=$(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
TARGET = miniterm
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT := ../../..
|
||||
XEN_ROOT := $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
CFILES = $(wildcard *.c)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
SUBDIRS_PROGRAMS = xenstored
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
SUBDIRS= \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
TOPLEVEL=../..
|
||||
TOPLEVEL=$(CURDIR)/../..
|
||||
XEN_ROOT=$(TOPLEVEL)/../..
|
||||
include $(TOPLEVEL)/common.make
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
TOPLEVEL=../..
|
||||
TOPLEVEL=$(CURDIR)/../..
|
||||
XEN_ROOT=$(TOPLEVEL)/../..
|
||||
include $(TOPLEVEL)/common.make
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
TOPLEVEL=../..
|
||||
TOPLEVEL=$(CURDIR)/../..
|
||||
XEN_ROOT=$(TOPLEVEL)/../..
|
||||
include $(TOPLEVEL)/common.make
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
TOPLEVEL=../..
|
||||
TOPLEVEL=$(CURDIR)/../..
|
||||
XEN_ROOT=$(TOPLEVEL)/../..
|
||||
include $(TOPLEVEL)/common.make
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
TOPLEVEL=../..
|
||||
TOPLEVEL=$(CURDIR)/../..
|
||||
XEN_ROOT=$(TOPLEVEL)/../..
|
||||
include $(TOPLEVEL)/common.make
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
TOPLEVEL=../..
|
||||
TOPLEVEL=$(CURDIR)/../..
|
||||
XEN_ROOT=$(TOPLEVEL)/../..
|
||||
include $(TOPLEVEL)/common.make
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
TOPLEVEL=../..
|
||||
TOPLEVEL=$(CURDIR)/../..
|
||||
XEN_ROOT=$(TOPLEVEL)/../..
|
||||
include $(TOPLEVEL)/common.make
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
TOPLEVEL=../..
|
||||
TOPLEVEL=$(CURDIR)/../..
|
||||
XEN_ROOT=$(TOPLEVEL)/../..
|
||||
include $(TOPLEVEL)/common.make
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
XEN_ROOT = ../../..
|
||||
OCAML_TOPLEVEL = ..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
OCAML_TOPLEVEL = $(CURDIR)/..
|
||||
include $(OCAML_TOPLEVEL)/common.make
|
||||
|
||||
OCAMLINCLUDE += \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
.PHONY: all
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
.PHONY: all
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT=../..
|
||||
XEN_ROOT=$(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
SCRIPTS = remus
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
CFLAGS += -Werror
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT=../../../..
|
||||
XEN_ROOT=$(CURDIR)/../../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
CFLAGS += -Werror
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
XEN_ROOT=../../..
|
||||
XEN_ROOT=$(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
TARGET := test_x86_emulator
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
CFLAGS =
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT=../../..
|
||||
XEN_ROOT=$(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
CFLAGS += -Werror
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/make -f
|
||||
# -*- mode: Makefile; -*-
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
VERSION = 1.0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# -*- mode: Makefile; -*-
|
||||
#============================================================================
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
.PHONY: all
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# -*- mode: Makefile; -*-
|
||||
#============================================================================
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
.PHONY: all
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
|
||||
# Base definitions and rules
|
||||
include $(XEN_ROOT)/tools/vtpm/Rules.mk
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
|
||||
# Base definitions and rules
|
||||
include $(XEN_ROOT)/tools/vtpm_manager/Rules.mk
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/vtpm_manager/Rules.mk
|
||||
|
||||
BIN = libtcpaCrypto.a
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/vtpm_manager/Rules.mk
|
||||
|
||||
BIN = vtpm_managerd
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/vtpm_manager/Rules.mk
|
||||
|
||||
VPATH = ../manager
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/vtpm_manager/Rules.mk
|
||||
|
||||
BIN = libTCS.a
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT = ../../..
|
||||
XEN_ROOT = $(CURDIR)/../../..
|
||||
include $(XEN_ROOT)/tools/vtpm_manager/Rules.mk
|
||||
|
||||
BIN = libTCGUtils.a
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
# Copyright (C) 2005 by Christian Limpach
|
||||
#
|
||||
|
||||
XEN_ROOT = ../..
|
||||
XEN_ROOT = $(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
CFLAGS += -Werror
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
XEN_ROOT=../..
|
||||
XEN_ROOT=$(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
CFLAGS += -Werror
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
XEN_ROOT=../..
|
||||
XEN_ROOT=$(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
CFLAGS += -Werror
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
XEN_ROOT=../..
|
||||
XEN_ROOT=$(CURDIR)/../..
|
||||
include $(XEN_ROOT)/tools/Rules.mk
|
||||
|
||||
CFLAGS += -I $(XEN_XC)
|
||||
|
||||
Loaded 100 of 106 files, more files were not shown because too many files have changed in this diff.
Show more