Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E91D4C433EF for ; Mon, 29 Nov 2021 03:47:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377800AbhK2DuX (ORCPT ); Sun, 28 Nov 2021 22:50:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376792AbhK2DsV (ORCPT ); Sun, 28 Nov 2021 22:48:21 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E36C8C061785 for ; Sun, 28 Nov 2021 19:44:01 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id j3so33647379wrp.1 for ; Sun, 28 Nov 2021 19:44:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+QDxtMYsiGpTbjQ64wPI5k5f7+JtFNl3ARwWkRt14a8=; b=ZU1Eln/9SfoVq+B1U5sfkGF2CKQj0m12USLmliZF8vtG281sSfnKd1llBqsKNcuqc2 8N5fgyQytGWDCJcq36yzg17WxrxXioox9VRTAfRnldAXTNEp37nVe8IechsY1OXtWqmT +1peJdK+SSGcJwBQrdIZu4l/IIJXoUr4NSG4jK2hWbBB2oroBW5p+6DMWALBuFNs00oE yMtPXtXwPlRH38pIp3gZBltyLvbPamz2XjmQtJ+J3Z4+XxIBEXmozVRZ/SePp8ecprth WM9my2Gykuzd4pOFMsuZiVkqv1Jzi9fnhLbPO7pmX7iwo4SGyvjXsJ6stCH3cM13JSPE Q0Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+QDxtMYsiGpTbjQ64wPI5k5f7+JtFNl3ARwWkRt14a8=; b=y5Jep+AFjp3UlTUGFjSQyRWyhaEkq3VX1X6RUI+oRdRJJbgJoQO6DujKc+7omPYGZZ UI7mpAiqcV21mjVTeuReZM+JKj25G9GKI2LkPotSNv9YRE4OUvvU7+wWOVD6KPc0K49N +nwgI6Q7ZCJUKHZdZLkx9d3OMnMYmemmVGNYlOfVinwNUaS6zbCb1onUTHOJpBZck+ub Q1dXb0k/K6vRHiOVLK1tOr6kD2G+6mjMJY7ee9FLmXpupWkmxO6VZVjK7YVptNFNj3mu TTPJTDxgqrJQWWUykGdkWgtYNCeCYm28/sf1SG74GwwlHH050t/v6kq0vBfVKA7q1p6P PtEg== X-Gm-Message-State: AOAM530DO5VSzstHdngVYNsqDEGAC3TJd8phe+d6x5/dj2tmZLdaoMPx 6E6pqGOs4ekYhtPisQ17FI4le/pmq+Ud5PpSGlEcOg== X-Google-Smtp-Source: ABdhPJxVfNspMPegX0nnAqIOrb8ixJr5KGAdRv5R05/KZLzp7MAcQcov9DD8ovNlUXIEHNvkgRgpGDqR8pC579umDK8= X-Received: by 2002:adf:e848:: with SMTP id d8mr31758948wrn.3.1638157440427; Sun, 28 Nov 2021 19:44:00 -0800 (PST) MIME-Version: 1.0 References: <20211126154020.342924-1-anup.patel@wdc.com> <20211126154020.342924-4-anup.patel@wdc.com> <9545cab7-6365-b20d-fc05-82ace6368661@redhat.com> In-Reply-To: <9545cab7-6365-b20d-fc05-82ace6368661@redhat.com> From: Anup Patel Date: Mon, 29 Nov 2021 09:13:49 +0530 Message-ID: Subject: Re: [PATCH 3/4] KVM: selftests: Add EXTRA_CFLAGS in top-level Makefile To: Paolo Bonzini Cc: Anup Patel , Shuah Khan , Atish Patra , Palmer Dabbelt , Paul Walmsley , Albert Ou , Alistair Francis , KVM General , kvm-riscv@lists.infradead.org, linux-riscv , "linux-kernel@vger.kernel.org List" , linux-kselftest@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 26, 2021 at 9:45 PM Paolo Bonzini wrote: > > On 11/26/21 16:40, Anup Patel wrote: > > We add EXTRA_CFLAGS to the common CFLAGS of top-level Makefile > > which will allow users to pass additional compile-time flags such > > as "-static". > > Is this just for debugging? I cannot understand if it's used in patch 4. Yes, this is just for debugging. I am using it to add selftests ELFs to any arbitrary initrd so that I can try selftests on Spike, FPGA, or even HW simulators. Regards, Anup > > Paolo >