Brad Bishop | eb610d6 | 2019-09-09 14:57:03 -0400 | [diff] [blame^] | 1 | From 206d1b9c38daed50fcc08d2e743e649fbb82d60b Mon Sep 17 00:00:00 2001 |
| 2 | From: Laurent Vivier <laurent@vivier.eu> |
| 3 | Date: Tue, 5 Jun 2018 18:09:58 +0200 |
| 4 | Subject: [PATCH] linux-user: disable qemu-bridge-helper and socket_scm_helper |
| 5 | build |
| 6 | |
| 7 | linux-user targets don't need them, and if we ask to build statically |
| 8 | linked binaries, some static libraries they need are not available. |
| 9 | |
| 10 | Signed-off-by: Laurent Vivier <laurent@vivier.eu> |
| 11 | Reviewed-by: Peter Maydell <peter.maydell@linaro.org> |
| 12 | Message-Id: <20180605160958.5434-1-laurent@vivier.eu> |
| 13 | |
| 14 | Upstream-Status: Pending |
| 15 | |
| 16 | |
| 17 | With the split of qemu-xilinx into target,native and system-native recipes, |
| 18 | we need to avoid duplicating providers for qemu-brigde-helper. |
| 19 | |
| 20 | Signed-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 | |
| 28 | diff --git a/Makefile b/Makefile |
| 29 | index 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 |
| 41 | diff --git a/tests/Makefile.include b/tests/Makefile.include |
| 42 | index 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 | -- |
| 55 | 2.7.4 |
| 56 | |