From nobody Mon Feb 9 17:36:52 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1576155296; cv=none; d=zohomail.com; s=zohoarc; b=nStDLcaOaGfvxOQ6iQM9OgzP0CuV1tLW7zQme7LG+1ACacZC/1p3bPU0tUtFZAsht31NrmrMI5a2HNI99zubWWmx390/Jp6fdk0YptxzgKn5sledxhsqHAMrnrPmwD+JJgZqmpWL83S02ELsVNDTWd3d5V6PLN+ce9lgVOcQaX4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1576155296; h=Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=hQa8RQN93P2TBfJsyGVMdsfgVEPZ5APj9EiA07gMxPg=; b=St0AkPNwGeEKYnVv4AZYIsvuHv2KaEXL2DiRbVjLQOP9udTZR0QKg3wRLrsKIYzfqJJ5aGgDTRs2ve7i+Zv+BM1xgXhbcKjB0UApftyR6P/hOWcSWdjTgKbpFh3lktSPd/wc2souRZm2kEDWtEGpXeNGANCbNR8tRZQA5BYJbvw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1576155296959731.2562893718875; Thu, 12 Dec 2019 04:54:56 -0800 (PST) Received: from localhost ([::1]:58862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifNzb-0004V0-53 for importer@patchew.org; Thu, 12 Dec 2019 07:54:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55355) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifNxn-0002aF-1R for qemu-devel@nongnu.org; Thu, 12 Dec 2019 07:53:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifNxl-0005ZF-PF for qemu-devel@nongnu.org; Thu, 12 Dec 2019 07:53:02 -0500 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:41948) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ifNxl-0005Xm-I5 for qemu-devel@nongnu.org; Thu, 12 Dec 2019 07:53:01 -0500 Received: by mail-wr1-x441.google.com with SMTP id c9so2600580wrw.8 for ; Thu, 12 Dec 2019 04:53:01 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id n189sm5193825wme.33.2019.12.12.04.52.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Dec 2019 04:52:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=hQa8RQN93P2TBfJsyGVMdsfgVEPZ5APj9EiA07gMxPg=; b=QyWjwGOnr3b9/8G4o2TmPcgrsDOau5C4XHfkw9SWDrbtSUU5EK8CJNqrK/rvFAG77v lJoBmrcW1RWyBGy0OdPwugIY13/4c+JMto4IFoQXjTG4SLRaWVIBnT1rRWjA/oYUI74a +bg7rRXjzYgFkqBxBzZLLD62qsGA8w3uJ9UnSCVn2kXttoPFrHSFXLFCbApdoMwZ83/0 z5wZhcYBPp7kclffEYyM3E5oAeNvB9E64cspbmrrI7lBtSvJ42VYy6fotEQYfNFQ/+0l QpdDzbBJNVPIYL4I+2hfEppTvKaIU7sUyxEH6NoG8Yn3aYppmqFQuogf8H2I5KhqewBq n5Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=hQa8RQN93P2TBfJsyGVMdsfgVEPZ5APj9EiA07gMxPg=; b=HOty7AXd53pWUiex1qJ+115srh/CZ8CPB0/6F/8EKhDzYz07d1LcZMQbP6LmEwBNRK YBMaXdHV9NIZX9GQH2CxBylEqOtAd2IXjjXDyWm1UAmeny5olmBvkk2jX7v6xi2jtV5q SJf+BO6WKpv1vYhHOE1S/3uuT9BcXGL6Fkmr3aQ0yfe8OLKpDd8k+WHxVEPJVqZ5ftbr fH/oYu8CQoNbg+8D4sQcYmdLH9TtbD5Xp1O55cinds8xmxBAlO6Ibgyey/GPPqMXrdZN S8jWsfo2gLWoyeNgcfzR0Y5tC1J0szcyBKMdhtUrCxfQK79OZ2VdUtWWGLlfX1ncM8ZU ClLA== X-Gm-Message-State: APjAAAVmLuXiNOJv9oFnZr4n7Ji9T7iFRXuLXUDm0PB13e7CGsslYBA2 kyW1fbtslMHDbB06qljdBQcvpwyr X-Google-Smtp-Source: APXvYqyU1mh0Ih1PGRKpQobpBS68+LaDbE56GDzxRsBMNN8Up43LPi8T7OdnrS/cGLEWKBBC+14LSw== X-Received: by 2002:adf:90e7:: with SMTP id i94mr5992612wri.47.1576155180321; Thu, 12 Dec 2019 04:53:00 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH 002/132] configure: do not include $(...) variables in config-host.mak Date: Thu, 12 Dec 2019 13:50:46 +0100 Message-Id: <1576155176-2464-3-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1576155176-2464-1-git-send-email-pbonzini@redhat.com> References: <1576155176-2464-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" This ensures that Meson will be able to reuse the results of the tests that are performed in the configure script. Signed-off-by: Paolo Bonzini --- configure | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/configure b/configure index f50314f..9745b87 100755 --- a/configure +++ b/configure @@ -589,8 +589,8 @@ QEMU_CFLAGS=3D"-fno-strict-aliasing -fno-common -fwrapv= -std=3Dgnu99 $QEMU_CFLAGS" QEMU_CFLAGS=3D"-Wall -Wundef -Wwrite-strings -Wmissing-prototypes $QEMU_CF= LAGS" QEMU_CFLAGS=3D"-Wstrict-prototypes -Wredundant-decls $QEMU_CFLAGS" QEMU_CFLAGS=3D"-D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE = $QEMU_CFLAGS" -QEMU_INCLUDES=3D"-iquote . -iquote \$(SRC_PATH) -iquote \$(SRC_PATH)/accel= /tcg -iquote \$(SRC_PATH)/include" -QEMU_INCLUDES=3D"$QEMU_INCLUDES -iquote \$(SRC_PATH)/disas/libvixl" +QEMU_INCLUDES=3D"-iquote . -iquote ${source_path} -iquote ${source_path}/a= ccel/tcg -iquote ${source_path}/include" +QEMU_INCLUDES=3D"$QEMU_INCLUDES -iquote ${source_path}/disas/libvixl" if test "$debug_info" =3D "yes"; then CFLAGS=3D"-g $CFLAGS" LDFLAGS=3D"-g $LDFLAGS" @@ -881,7 +881,7 @@ Linux) linux=3D"yes" linux_user=3D"yes" kvm=3D"yes" - QEMU_INCLUDES=3D"-I\$(SRC_PATH)/linux-headers -I$PWD/linux-headers $QEMU= _INCLUDES" + QEMU_INCLUDES=3D"-I${source_path}/linux-headers -I$PWD/linux-headers $QE= MU_INCLUDES" supported_os=3D"yes" libudev=3D"yes" ;; @@ -4038,8 +4038,8 @@ EOF symlink "$source_path/dtc/Makefile" "dtc/Makefile" symlink "$source_path/dtc/scripts" "dtc/scripts" fi - fdt_cflags=3D"-I\$(SRC_PATH)/dtc/libfdt" - fdt_ldflags=3D"-L\$(BUILD_DIR)/dtc/libfdt" + fdt_cflags=3D"-I${source_path}/dtc/libfdt" + fdt_ldflags=3D"-L$PWD/dtc/libfdt" fdt_libs=3D"$fdt_libs" elif test "$fdt" =3D "yes" ; then # Not a git build & no libfdt found, prompt for system install @@ -4988,13 +4988,13 @@ case "$capstone" in git_submodules=3D"${git_submodules} capstone" fi mkdir -p capstone - QEMU_CFLAGS=3D"$QEMU_CFLAGS -I\$(SRC_PATH)/capstone/include" + QEMU_CFLAGS=3D"$QEMU_CFLAGS -I${source_path}/capstone/include" if test "$mingw32" =3D "yes"; then LIBCAPSTONE=3Dcapstone.lib else LIBCAPSTONE=3Dlibcapstone.a fi - libs_cpu=3D"-L\$(BUILD_DIR)/capstone -lcapstone $libs_cpu" + libs_cpu=3D"-L$PWD/capstone -lcapstone $libs_cpu" ;; =20 system) @@ -5888,8 +5888,8 @@ case "$slirp" in git_submodules=3D"${git_submodules} slirp" fi mkdir -p slirp - slirp_cflags=3D"-I\$(SRC_PATH)/slirp/src -I\$(BUILD_DIR)/slirp/src" - slirp_libs=3D"-L\$(BUILD_DIR)/slirp -lslirp" + slirp_cflags=3D"-I${source_path}/slirp/src -I$PWD/slirp/src" + slirp_libs=3D"-L$PWD/slirp -lslirp" if test "$mingw32" =3D "yes" ; then slirp_libs=3D"$slirp_libs -lws2_32 -liphlpapi" fi @@ -7235,21 +7235,21 @@ if test "$sheepdog" =3D "yes" ; then fi =20 if test "$tcg_interpreter" =3D "yes"; then - QEMU_INCLUDES=3D"-iquote \$(SRC_PATH)/tcg/tci $QEMU_INCLUDES" + QEMU_INCLUDES=3D"-iquote ${source_path}/tcg/tci $QEMU_INCLUDES" elif test "$ARCH" =3D "sparc64" ; then - QEMU_INCLUDES=3D"-iquote \$(SRC_PATH)/tcg/sparc $QEMU_INCLUDES" + QEMU_INCLUDES=3D"-iquote ${source_path}/tcg/sparc $QEMU_INCLUDES" elif test "$ARCH" =3D "s390x" ; then - QEMU_INCLUDES=3D"-iquote \$(SRC_PATH)/tcg/s390 $QEMU_INCLUDES" + QEMU_INCLUDES=3D"-iquote ${source_path}/tcg/s390 $QEMU_INCLUDES" elif test "$ARCH" =3D "x86_64" || test "$ARCH" =3D "x32" ; then - QEMU_INCLUDES=3D"-iquote \$(SRC_PATH)/tcg/i386 $QEMU_INCLUDES" + QEMU_INCLUDES=3D"-iquote ${source_path}/tcg/i386 $QEMU_INCLUDES" elif test "$ARCH" =3D "ppc64" ; then - QEMU_INCLUDES=3D"-iquote \$(SRC_PATH)/tcg/ppc $QEMU_INCLUDES" + QEMU_INCLUDES=3D"-iquote ${source_path}/tcg/ppc $QEMU_INCLUDES" elif test "$ARCH" =3D "riscv32" || test "$ARCH" =3D "riscv64" ; then - QEMU_INCLUDES=3D"-I\$(SRC_PATH)/tcg/riscv $QEMU_INCLUDES" + QEMU_INCLUDES=3D"-I${source_path}/tcg/riscv $QEMU_INCLUDES" else - QEMU_INCLUDES=3D"-iquote \$(SRC_PATH)/tcg/\$(ARCH) $QEMU_INCLUDES" + QEMU_INCLUDES=3D"-iquote ${source_path}/tcg/\$(ARCH) $QEMU_INCLUDES" fi -QEMU_INCLUDES=3D"-iquote \$(SRC_PATH)/tcg $QEMU_INCLUDES" +QEMU_INCLUDES=3D"-iquote ${source_path}/tcg $QEMU_INCLUDES" =20 echo "TOOLS=3D$tools" >> $config_host_mak echo "ROMS=3D$roms" >> $config_host_mak --=20 1.8.3.1