From nobody Thu Oct 30 08:09:39 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1510067540969533.3772571065153; Tue, 7 Nov 2017 07:12:20 -0800 (PST) Received: from localhost ([::1]:53876 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eC5Y2-0001sl-3G for importer@patchew.org; Tue, 07 Nov 2017 10:12:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eC5SK-0005qO-4N for qemu-devel@nongnu.org; Tue, 07 Nov 2017 10:06:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eC5SF-00005o-AL for qemu-devel@nongnu.org; Tue, 07 Nov 2017 10:06:24 -0500 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:54009) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eC5SF-00005O-3W for qemu-devel@nongnu.org; Tue, 07 Nov 2017 10:06:19 -0500 Received: by mail-wm0-x244.google.com with SMTP id r196so4567073wmf.2 for ; Tue, 07 Nov 2017 07:06:19 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id r23sm781899wrc.93.2017.11.07.07.06.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Nov 2017 07:06:15 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id BDA543E044B; Tue, 7 Nov 2017 15:06:09 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/zYE1prZ1q5lHhUgPRpT3/mNwOoYSNwS4ZLxfqAqGxE=; b=iiyabpAr9ji1CR2NjXefrWc7DU+D7jlqbKw8QO9ZaCsFu1k6i7xRpXfIK5CYdc8nxb Z8dvaHX+jO1KQfMXiyilJpVmTr56dtD0cyV3ncFtfZX9u2Rrt30+5uus+4o8B8Y4VNDJ drpmbyGmmIuB9kuSoae00Gfdj6G7BqsqD1Qtc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/zYE1prZ1q5lHhUgPRpT3/mNwOoYSNwS4ZLxfqAqGxE=; b=dSF8B8kDziwBV5sjs+9KWbHvEsiNpBHkg9IMk4gfD4KaSIG+Gx33idB05ANibDGSAH lCLXJz8qErDdoUunvNSfDuZwr1jkkI9IMxuLvsBiYCbcqIK8uKlI7aVdzC7013EAmr/W wcdew5RFq+mx69BnrxMS+DEsjgCJHVPZwjQ5IDKJguGGv89hCqUCwftWCDStcKxy/tVE bAtcUrJcgJNdx9x8hTdOkhvDg+DMmj7pUOdbMvquLvVAaeIuleGI1W86PHz74lfDi2pK 5UTZejuj8P57UBlfvLArkM8EnqX5pDR63cIfhkuxxdXd8J4y0VHKa8Mm9syFVLEWYNk9 5Psw== X-Gm-Message-State: AJaThX7qW/NrN+RlZYkb0ovUUwDyUB2isifMGEdwwHeP7ZmyHViAWj3A XqjKO1gN2ZnN83tKOdLasi/b/g== X-Google-Smtp-Source: ABhQp+SS9mLCht14B9NDFwRNh9YceDjfYwxcgh4qJhidqHlOeI/X4k3+b7llhdos9Z1SqUlQ+sVDzA== X-Received: by 10.28.239.2 with SMTP id n2mr1524801wmh.140.1510067178035; Tue, 07 Nov 2017 07:06:18 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 7 Nov 2017 15:05:53 +0000 Message-Id: <20171107150558.22131-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171107150558.22131-1-alex.bennee@linaro.org> References: <20171107150558.22131-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::244 Subject: [Qemu-devel] [RISU PATCH 05/10] configure: allow repeated invocation of configure in build dir X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-arm@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Dave.Martin@arm.com, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 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=C3=A9e --- 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 =20 # 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=3D"-I $(pwd)" - ln -s "${SRCDIR}/Makefile" . + ln -sf "${SRCDIR}/Makefile" . fi =20 generate_config --=20 2.14.2