summaryrefslogtreecommitdiff
path: root/sysutils/xentools411/patches/patch-tools_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xentools411/patches/patch-tools_Makefile')
-rw-r--r--sysutils/xentools411/patches/patch-tools_Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/sysutils/xentools411/patches/patch-tools_Makefile b/sysutils/xentools411/patches/patch-tools_Makefile
new file mode 100644
index 00000000000..35dfb358ef8
--- /dev/null
+++ b/sysutils/xentools411/patches/patch-tools_Makefile
@@ -0,0 +1,43 @@
+$NetBSD: patch-tools_Makefile,v 1.1 2018/07/24 13:40:11 bouyer Exp $
+
+--- tools/Makefile.orig 2018-04-17 19:21:31.000000000 +0200
++++ tools/Makefile 2018-04-23 16:09:03.000000000 +0200
+@@ -21,7 +21,7 @@
+ SUBDIRS-y += xenstat
+ SUBDIRS-$(CONFIG_Linux) += memshr
+ SUBDIRS-$(CONFIG_BLKTAP2) += blktap2
+-SUBDIRS-$(CONFIG_NetBSD) += xenbackendd
++#XXX SUBDIRS-$(CONFIG_NetBSD) += xenbackendd
+ SUBDIRS-y += libfsimage
+ SUBDIRS-$(CONFIG_Linux) += libvchan
+
+@@ -39,7 +39,7 @@
+ SUBDIRS-$(CONFIG_X86) += xenpaging
+ SUBDIRS-$(CONFIG_X86) += debugger/gdbsx
+ SUBDIRS-$(CONFIG_X86) += debugger/kdd
+-SUBDIRS-$(CONFIG_TESTS) += tests
++#XXX SUBDIRS-$(CONFIG_TESTS) += tests
+
+ # These don't cross-compile
+ ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
+@@ -262,13 +262,13 @@
+ -L$(XEN_ROOT)/tools/libs/gnttab \
+ -L$(XEN_ROOT)/tools/libs/foreignmemory \
+ -L$(XEN_ROOT)/tools/libs/devicemodel \
+- -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/toolcore \
+- -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/toollog \
+- -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/evtchn \
+- -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/gnttab \
+- -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/call \
+- -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/foreignmemory \
+- -Wl,-rpath-link=$(XEN_ROOT)/tools/libs/devicemodel \
++ -Wl,-rpath-link,$(XEN_ROOT)/tools/libs/toolcore \
++ -Wl,-rpath-link,$(XEN_ROOT)/tools/libs/toollog \
++ -Wl,-rpath-link,$(XEN_ROOT)/tools/libs/evtchn \
++ -Wl,-rpath-link,$(XEN_ROOT)/tools/libs/gnttab \
++ -Wl,-rpath-link,$(XEN_ROOT)/tools/libs/call \
++ -Wl,-rpath-link,$(XEN_ROOT)/tools/libs/foreignmemory \
++ -Wl,-rpath-link,$(XEN_ROOT)/tools/libs/devicemodel \
+ $(QEMU_UPSTREAM_RPATH)" \
+ --bindir=$(LIBEXEC_BIN) \
+ --datadir=$(SHAREDIR)/qemu-xen \