Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp870729rdf; Tue, 21 Nov 2023 21:31:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IHmc4vyDdQQthtG5eYblhiiEAJdOlr60GKRdWo2zAUffyVztoczXll+MFt29ge6gmCpR9XC X-Received: by 2002:a05:6a00:1512:b0:6c4:d5ee:c6 with SMTP id q18-20020a056a00151200b006c4d5ee00c6mr1751402pfu.1.1700631101609; Tue, 21 Nov 2023 21:31:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700631101; cv=none; d=google.com; s=arc-20160816; b=MSqhN9etCnu7dL+LrYnQkoKLgL/6uUCXBALDk8NjP31z7gEcZWeMetl69buvj62hO0 5VfmRd1fsd01Gx3DZZ9CMiS0FMI170wvNxHBvNuCJwWCU5noN8Njbmc532K7c5uCtFRr yWWNlnRoxqoL4/xJVbaINzVKZX2akg6R0Zpt2nJfXDxHk2vqH7aHdxB2zSzffgzbgWT7 u4DgLtFmk7pReXWX4Ai531PTEifsQsNc5glMD+J8kfiNgVws6QMnISSoznNasbmk2Ocq dYOx9e7affpgVuH1CFMMp4uNCj8JuovanGDraQ+vPlwXgpWbfhA8maM+prYD/MSW7Cs5 ZWsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=UoZZGdYlyC8W3eXKQTo+rA+DFjIIViYe2h8xE3Q4cIU=; fh=iwcLWSvWcEMh6CkVkVwjZ29eXjDR9VSqicw2oDAovSI=; b=P9X7p5oDHMS0kd07u3y1VXBo6gChRFQ0R2XyhFw4FO/7lmmqxeP2tAxz8fL5jZWkii FllC+326vNXUCGdlInE6Hgx7fEjxMXONWTjQEOZc8PBmzNDCdHRB5RL4VtJbSNyjEGGs q+GMvU7D+oVqUMgEBZqinnQ2xueKjHY9oDZR2avIHl8gnl/IgLJgtMsbgzqwebF/DrML Ti4g24B9xuS1Nx7cW5+E/q2RQ129qeavN50r/aUn3UCUE+c7DDGpwc8RN53G2Mcp1YK7 vVhUkKROU1VO8bfDjgKosHz0V9nsj5ayrRuNKfUoROChvIcURnxmKg1SZSejG+t09gCG XknQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jxUkwYdg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id s66-20020a635e45000000b005b11e5a69fdsi12212931pgb.508.2023.11.21.21.31.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 21:31:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jxUkwYdg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 6D03980FCBFC; Tue, 21 Nov 2023 21:31:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229934AbjKVFbE (ORCPT + 99 others); Wed, 22 Nov 2023 00:31:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229561AbjKVFbD (ORCPT ); Wed, 22 Nov 2023 00:31:03 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7854185 for ; Tue, 21 Nov 2023 21:30:59 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 664B6C433CD for ; Wed, 22 Nov 2023 05:30:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700631059; bh=LxgqrVsExp18X41sj9jZd0qVqv8p2H0pjBZVzDy55KE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=jxUkwYdg3kdZ5KXh4SvcysIoWYZYZJLWSjXFQj4xu5Kiu/SAIXuW5QvGasMaC3ME0 w1nefyg+krajFl9lPlTJCVjVSIxuIMGt4hIHEUeqhtFJyG61lvzBAEPwXg/ep5Uf1w FVXJVrhUlyLRoTP9KoTiIUrnFO/F/pTkq/m1I5XplwuTwzQwWHe8XNgaEpJCqFyUnx WSLJToOep18aMJi4WVDUVgIeHuWLwGA1wO96rrpgyeFmmSCcfnYS4Zk9UKXoFFZQ7e e0nJrHa51p0go92sCMWIJG8YGfxvNiDzqSzaCdP2iA1AsdBu1EPnGYwQXgBcL8/Eu+ j2rdQAvpKZllw== Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-1f937a7b8aaso1638455fac.0 for ; Tue, 21 Nov 2023 21:30:59 -0800 (PST) X-Gm-Message-State: AOJu0Yyz31aoS8qJwneXX6joAdhSbAMGbG/mvhBC0bq5PrucHcjS15Hb 34ob0yFKmHUxHuyA/LZlSedTUSf46KEJTcer1nA= X-Received: by 2002:a05:6870:3d86:b0:1f9:5ef5:44df with SMTP id lm6-20020a0568703d8600b001f95ef544dfmr1889861oab.14.1700631058773; Tue, 21 Nov 2023 21:30:58 -0800 (PST) MIME-Version: 1.0 References: <20231119150229.634424-1-sjg@chromium.org> <20231119150229.634424-2-sjg@chromium.org> In-Reply-To: <20231119150229.634424-2-sjg@chromium.org> From: Masahiro Yamada Date: Wed, 22 Nov 2023 14:30:22 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 1/2] kbuild: arm64: Add BOOT_TARGETS variable To: Simon Glass Cc: linux-arm-kernel@lists.infradead.org, U-Boot Mailing List , Tom Rini , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 21 Nov 2023 21:31:15 -0800 (PST) On Mon, Nov 20, 2023 at 12:02=E2=80=AFAM Simon Glass wro= te: > > Add a new variable containing a list of possible targets. Mark them as > phony. This matches the approach taken for arch/arm > > Signed-off-by: Simon Glass I encounter difficulty in understanding your subject prefix policy. You used the "arm:" prefix for a patch irrelevant to arm: https://lore.kernel.org/linux-kbuild/CAK7LNAQN_qGYztWGDmQyfg+eZ5P7RkM47mpgp= 0dQn_iuhvTSWg@mail.gmail.com/ And, the one for this patch. "kbuild: arm64: Add BOOT_TARGETS variable" Please do not add "kbuild:" for a patch that modifies arch/arm64, and that was not even submitted to kbuild ML. > --- > > Changes in v6: > - Drop the unwanted .gz suffix > > arch/arm64/Makefile | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile > index 4bd85cc0d32b..ae0c5ee8c78b 100644 > --- a/arch/arm64/Makefile > +++ b/arch/arm64/Makefile > @@ -150,6 +150,10 @@ libs-$(CONFIG_EFI_STUB) +=3D $(objtree)/drivers/firm= ware/efi/libstub/lib.a > # Default target when executing plain make > boot :=3D arch/arm64/boot > > +BOOT_TARGETS :=3D Image vmlinuz.efi > + > +PHONY +=3D $(BOOT_TARGETS) > + > ifeq ($(CONFIG_EFI_ZBOOT),) > KBUILD_IMAGE :=3D $(boot)/Image.gz > else > @@ -159,7 +163,7 @@ endif > all: $(notdir $(KBUILD_IMAGE)) > > > -Image vmlinuz.efi: vmlinux > +$(BOOT_TARGETS): vmlinux > $(Q)$(MAKE) $(build)=3D$(boot) $(boot)/$@ > > Image.%: Image > -- > 2.43.0.rc0.421.g78406f8d94-goog > -- Best Regards Masahiro Yamada