[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 13/14] tests/vm: expose BUILD_TARGET, TARGET_
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH v1 13/14] tests/vm: expose BUILD_TARGET, TARGET_LIST and EXTRA_CONFIGURE_OPTS |
Date: |
Thu, 31 Jan 2019 12:03:07 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
On 1/25/19 3:00 PM, Alex Bennée wrote:
> Now the underlying basevm support passes these along we can expose
> some additional variables to our Makefile to allow more customised
> tweaking of the build. For example:
>
> make vm-build-freebsd TARGET_LIST=aarch64-softmmu \
> EXTRA_CONFIGURE_OPTS="--disable-tools --disable-docs" \
> BUILD_TARGET=check-softfloat
>
> Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> tests/vm/Makefile.include | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include
> index a58383d263..992d823f6b 100644
> --- a/tests/vm/Makefile.include
> +++ b/tests/vm/Makefile.include
> @@ -19,6 +19,11 @@ vm-test:
> @echo ""
> @echo " vm-build-all - Build QEMU in all VMs"
> @echo " vm-clean-all - Clean up VM images"
> + @echo
> + @echo "Special variables:"
> + @echo " BUILD_TARGET=foo - override the build target"
> + @echo " TARGET_LIST=a,b,c - Override target list in
> builds."
> + @echo ' EXTRA_CONFIGURE_OPTS="..."'
>
> vm-build-all: $(addprefix vm-build-, $(IMAGES))
>
> @@ -47,6 +52,9 @@ vm-build-%: $(IMAGES_DIR)/%.img
> $(if $(J),--jobs $(J)) \
> $(if $(V),--verbose) \
> --image "$<" \
> - --build-qemu $(SRC_PATH), \
> + $(if $(BUILD_TARGET),--build-target $(BUILD_TARGET)) \
> + --build-qemu $(SRC_PATH) -- \
> + $(if $(TARGET_LIST),--target-list=$(TARGET_LIST)) \
> + $(if $(EXTRA_CONFIGURE_OPTS),$(EXTRA_CONFIGURE_OPTS)), \
> " VM-BUILD $*")
>
>
- Re: [Qemu-devel] [PATCH v1 05/14] docker: disable Xen on CentOS 7, (continued)
- [Qemu-devel] [PATCH v1 09/14] tests: PEP8 cleanup of docker.py, mostly white space, Alex Bennée, 2019/01/25
- [Qemu-devel] [PATCH v1 04/14] archive-source.sh: Clone the submodules locally, Alex Bennée, 2019/01/25
- [Qemu-devel] [PATCH v1 12/14] tests/vm: add --build-target option, Alex Bennée, 2019/01/25
- [Qemu-devel] [PATCH v1 14/14] scripts/qemu.py: allow arches use KVM for their 32bit cousins, Alex Bennée, 2019/01/25
- [Qemu-devel] [PATCH v1 13/14] tests/vm: expose BUILD_TARGET, TARGET_LIST and EXTRA_CONFIGURE_OPTS, Alex Bennée, 2019/01/25
- Re: [Qemu-devel] [PATCH v1 13/14] tests/vm: expose BUILD_TARGET, TARGET_LIST and EXTRA_CONFIGURE_OPTS,
Philippe Mathieu-Daudé <=