blob: 8f41f74699777cd02daf89fa50c02e38d994954f [file] [log] [blame]
Brad Bishopeb610d62019-09-09 14:57:03 -04001From 206d1b9c38daed50fcc08d2e743e649fbb82d60b Mon Sep 17 00:00:00 2001
2From: Laurent Vivier <laurent@vivier.eu>
3Date: Tue, 5 Jun 2018 18:09:58 +0200
4Subject: [PATCH] linux-user: disable qemu-bridge-helper and socket_scm_helper
5 build
6
7linux-user targets don't need them, and if we ask to build statically
8linked binaries, some static libraries they need are not available.
9
10Signed-off-by: Laurent Vivier <laurent@vivier.eu>
11Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
12Message-Id: <20180605160958.5434-1-laurent@vivier.eu>
13
14Upstream-Status: Pending
15
16
17With the split of qemu-xilinx into target,native and system-native recipes,
18we need to avoid duplicating providers for qemu-brigde-helper.
19
20Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
21
22
23---
24 Makefile | 2 +-
25 tests/Makefile.include | 2 +-
26 2 files changed, 2 insertions(+), 2 deletions(-)
27
28diff --git a/Makefile b/Makefile
29index 023b343..e4bc34a 100644
30--- a/Makefile
31+++ b/Makefile
32@@ -351,7 +351,7 @@ $(call set-vpath, $(SRC_PATH))
33
34 LIBS+=-lz $(LIBS_TOOLS)
35
36-HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF)
37+HELPERS-$(call land,$(CONFIG_SOFTMMU),$(CONFIG_LINUX)) = qemu-bridge-helper$(EXESUF)
38
39 ifdef BUILD_DOCS
40 DOCS=qemu-doc.html qemu-doc.txt qemu.1 qemu-img.1 qemu-nbd.8 qemu-ga.8
41diff --git a/tests/Makefile.include b/tests/Makefile.include
42index d098a10..10397ed 100644
43--- a/tests/Makefile.include
44+++ b/tests/Makefile.include
45@@ -930,7 +930,7 @@ check-report.html: check-report.xml
46
47 # Other tests
48
49-QEMU_IOTESTS_HELPERS-$(CONFIG_LINUX) = tests/qemu-iotests/socket_scm_helper$(EXESUF)
50+QEMU_IOTESTS_HELPERS-$(call land,$(CONFIG_SOFTMMU),$(CONFIG_LINUX)) = tests/qemu-iotests/socket_scm_helper$(EXESUF)
51
52 .PHONY: check-tests/qemu-iotests-quick.sh
53 check-tests/qemu-iotests-quick.sh: tests/qemu-iotests-quick.sh qemu-img$(EXESUF) qemu-io$(EXESUF) $(QEMU_IOTESTS_HELPERS-y)
54--
552.7.4
56