[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RISU PATCH v4 03/10] build-all-archs: support --static fla
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [RISU PATCH v4 03/10] build-all-archs: support --static flag |
Date: |
Fri, 2 Jun 2017 17:08:41 +0100 |
Signed-off-by: Alex Bennée <address@hidden>
---
build-all-archs | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/build-all-archs b/build-all-archs
index 78f062e..788ba36 100755
--- a/build-all-archs
+++ b/build-all-archs
@@ -18,6 +18,7 @@ usage() {
Options include:
--use-docker[=tags] use docker cross compile
+ --static build a static binary
If specifying docker the default will be to use the any
qemu:debian-FOO-cross targets available on your system.
@@ -41,6 +42,9 @@ while [[ "$1" = -* ]]; do
docker_tags="$arg"
fi
;;
+ --static)
+ CONF="--static"
+ ;;
--help)
usage
;;
@@ -88,7 +92,7 @@ for triplet in aarch64-linux-gnu arm-linux-gnueabihf
m68k-linux-gnu \
rm -rf build/${triplet}
mkdir -p build/${triplet}
- CONFIGURE="cd build/${triplet} && CROSS_PREFIX="${triplet}-"
../../configure"
+ CONFIGURE="cd build/${triplet} && CROSS_PREFIX=${triplet}-
../../configure ${CONF}"
MAKE="make -C build/${triplet} EXTRA_CFLAGS=-Werror"
if [ -z "$use_docker_tag" ]; then
--
2.13.0
- [Qemu-devel] [RISU PATCH v4 00/10] record/replay patches, Alex Bennée, 2017/06/02
- [Qemu-devel] [RISU PATCH v4 02/10] build-all-archs: support cross building via docker, Alex Bennée, 2017/06/02
- [Qemu-devel] [RISU PATCH v4 01/10] .gitignore: ignore build directories, Alex Bennée, 2017/06/02
- [Qemu-devel] [RISU PATCH v4 04/10] risu: a bit more verbosity when running, Alex Bennée, 2017/06/02
- [Qemu-devel] [RISU PATCH v4 03/10] build-all-archs: support --static flag,
Alex Bennée <=
- [Qemu-devel] [RISU PATCH v4 06/10] risu: add header to trace stream, Alex Bennée, 2017/06/02
- [Qemu-devel] [RISU PATCH v4 05/10] risu: paramterise send/receive functions, Alex Bennée, 2017/06/02
- [Qemu-devel] [RISU PATCH v4 08/10] risu: add support compressed tracefiles, Alex Bennée, 2017/06/02
- [Qemu-devel] [RISU PATCH v4 07/10] risu: add simple trace and replay support, Alex Bennée, 2017/06/02