[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RISU PATCH 05/10] configure: allow repeated invocation of
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [RISU PATCH 05/10] configure: allow repeated invocation of configure in build dir |
Date: |
Tue, 7 Nov 2017 15:05:53 +0000 |
Otherwise a second configure run will totally miss out the setting of
BUILD_INC. I made the link -sf as it seemed the easier way around.
Signed-off-by: Alex Bennée <address@hidden>
---
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 1dc527b..c622a5e 100755
--- a/configure
+++ b/configure
@@ -176,10 +176,10 @@ fi
# Are we in a separate build tree? If so, link the Makefile
# so that 'make' works.
-if test ! -e Makefile; then
+if test ! -e Makefile || test -s Makefile; then
echo "linking Makefile..."
BUILD_INC="-I $(pwd)"
- ln -s "${SRCDIR}/Makefile" .
+ ln -sf "${SRCDIR}/Makefile" .
fi
generate_config
--
2.14.2
- [Qemu-devel] [RISU PATCH 00/10] Initial support for SVE, Alex Bennée, 2017/11/07
- [Qemu-devel] [RISU PATCH 01/10] build-all-arches: drop -t (for tty) from docker invocation, Alex Bennée, 2017/11/07
- [Qemu-devel] [RISU PATCH 02/10] risu.c: split out setting up options, Alex Bennée, 2017/11/07
- [Qemu-devel] [RISU PATCH 06/10] configure: support CPPFLAGS, Alex Bennée, 2017/11/07
- [Qemu-devel] [RISU PATCH 04/10] risu: move optional args to each architecture, Alex Bennée, 2017/11/07
- [Qemu-devel] [RISU PATCH 05/10] configure: allow repeated invocation of configure in build dir,
Alex Bennée <=
- [Qemu-devel] [RISU PATCH 10/10] risu_reginfo_aarch64: add SVE support to reginfo_dump_mismatch, Alex Bennée, 2017/11/07
- [Qemu-devel] [RISU PATCH 03/10] risu.c: add missing --trace longopt, Alex Bennée, 2017/11/07
- [Qemu-devel] [RISU PATCH 07/10] risugen: add --sve support, Alex Bennée, 2017/11/07
- [Qemu-devel] [RISU PATCH 08/10] aarch64.risu: initial SVE instruction, Alex Bennée, 2017/11/07
- [Qemu-devel] [RISU PATCH 09/10] risu_reginfo_aarch64: add reginfo_copy_sve, Alex Bennée, 2017/11/07