From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB02BC43331 for ; Tue, 31 Mar 2020 12:33:29 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8278E20675 for ; Tue, 31 Mar 2020 12:33:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cpY4HskH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8278E20675 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:37286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJG5A-0002bD-Ic for qemu-devel@archiver.kernel.org; Tue, 31 Mar 2020 08:33:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36156) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJG4S-00022P-RB for qemu-devel@nongnu.org; Tue, 31 Mar 2020 08:32:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJG4R-0008GE-2B for qemu-devel@nongnu.org; Tue, 31 Mar 2020 08:32:44 -0400 Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]:33581) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJG4P-0008FB-U3 for qemu-devel@nongnu.org; Tue, 31 Mar 2020 08:32:42 -0400 Received: by mail-ot1-x32f.google.com with SMTP id 22so21813972otf.0 for ; Tue, 31 Mar 2020 05:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KX3bx5nyjmkbYRDFDbwXaLCvlYWCK2kdnAEMVPtWuSw=; b=cpY4HskHmBCCE2R2O4324GGsnFU3iAHs237N5cgLpY5vheJ2EUnT0ieJZv31n/XSd0 lJq+s6Djc34X/QJ/49w9OC+qSdVqgZ6o4OZM/9CqwugHvBsenZx6EmMq2+Zqo4idl+ZE DQZBO5WdTNTtspm8dR+8HUQs/y9J6fp2cFP70s0sW/RgHIhbsjDwbDRsf9KTFUGlKgDl Fv3sj7oHHczqVzjwCdUHEiPsDP7faSaAMDKiCwWHS4G/RncJrIZt+X7ZVf1oz/93rvgI KqycLpyiLYFl7gcK0rxY0BAs4bS9PTOGZHaByOFpXoGy7UXfU0fqWpgwNZv1A71tWDXI Or7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KX3bx5nyjmkbYRDFDbwXaLCvlYWCK2kdnAEMVPtWuSw=; b=i09wPm4MCGRr/juMoGetOmhWRHtG+zxYTGtiFQML3/gLDTnLp68N+g+Dws5G5u5ayW Xp+eorxzoQFb6XDZrjO+/G3pcL1phZiEWJQnUVF6IuAkOfs4gF1KdRpDdeFFPnfHiIZV rr31GMFqyx7G+Tku65HlcKyducXb/SpI+rtESx82xxjVpWrJEUEpCmQbIWHTIAjr8zvF u3IsOqwy5ly8ZeJVdirfXJwNCPSdd+SNRS9VXwrVLviGYRbj/zgSfpYqqAqGmAq/Eaq5 kKoEc4OfkF/yiquLY243fzerSOCuONrP33kzfd7lDDQ+Tt+XXGpSo4KUV0pN2cxTgaqX iZnQ== X-Gm-Message-State: ANhLgQ1WD99VCp0IAJ1pGH73h4skAx/fQxNI3ds8zQPl2WRirhGjUx5w P5JMFbtTom2cHy/MNVxtJ6vn49mswuue5JAtylnwhQ== X-Google-Smtp-Source: ADFU+vth2bmk7s7pXCiRpYgtcmsTG3G4NaZH9x1nMOvm+C/rb+P/TANJnOPxOlqYIUvGP92eYbv94PQuGgSubH7beII= X-Received: by 2002:a05:6830:11d5:: with SMTP id v21mr1463432otq.91.1585657960993; Tue, 31 Mar 2020 05:32:40 -0700 (PDT) MIME-Version: 1.0 References: <87v9mmug73.fsf@dusky.pond.sub.org> <20200330134212.GO236854@redhat.com> <20200330143759.GD6139@linux.fritz.box> <20200331120220.GA7030@linux.fritz.box> <20200331122428.GD7030@linux.fritz.box> In-Reply-To: <20200331122428.GD7030@linux.fritz.box> From: Peter Maydell Date: Tue, 31 Mar 2020 13:32:29 +0100 Message-ID: Subject: Re: deprecation of in-tree builds To: Kevin Wolf Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::32f 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: , Cc: Paolo Bonzini , =?UTF-8?Q?Daniel_P=2E_Berrang=C3=A9?= , Markus Armbruster , QEMU Developers Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Tue, 31 Mar 2020 at 13:24, Kevin Wolf wrote: > > Am 31.03.2020 um 14:05 hat Peter Maydell geschrieben: > > On Tue, 31 Mar 2020 at 13:02, Kevin Wolf wrote: > > > Mainly because it allows me to start everything (most importantly: my > > > editor, git and make) from the same directory. > > > > You can use 'make -C build/whatever' to avoid having to change directory. > > Which is about five times as long as 'make'. True; but once you've done it once then the second time is usually C-r RET to pull it out of the shell history. (Usually I run something like 'make -C build/foo -j8 && make -C build/foo -j8 check && make -C build/foo check-acceptance', which I'm definitely not typing out every time.) > I'm not sure what the problem would be with a Makefile in the source > tree that just calls make in the build directory? It's convenient and > doesn't hurt anyone who prefers to work directly in the build directory. I don't object to it particularly; I'm just mentioning that you don't need to cd all over the place if you do decide to switch to using build dirs. (I think the main benefit of build dirs is that you get to have more than one at once, at which point you need to specify which one you meant somehow.) thanks -- PMM