Message ID | 20231129172200.430674-2-sjg@chromium.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a5a7:0:b0:403:3b70:6f57 with SMTP id d7csp493890vqn; Wed, 29 Nov 2023 09:23:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IHBdGzBxoGKAi3n3sHLPw1jnbNx0bQ1F7nH9dSNB3wNZlLHQpLfV8wX8E0vVB4XkL0CPFUF X-Received: by 2002:a05:6a00:88f:b0:6b3:f29c:dde1 with SMTP id q15-20020a056a00088f00b006b3f29cdde1mr20525432pfj.21.1701278581038; Wed, 29 Nov 2023 09:23:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701278581; cv=none; d=google.com; s=arc-20160816; b=CJuBbTKnDfbVi/64g8BqITqD8QAGIG/Il8PjFjdgwgK8JlCxCtipXee6cJitwSZ4SR XIcrGdMlFcZcGlTCsZQdrQSwvvgY4wfMrpwHd2PDKvAmgeC2otlXNjEcYNWO4LXvBi7k aTGyXvN8Ej2nGzqO0VLq0X7Wc1Hqc/IbK/OYYipbqiJNkb5T9aEeDgWqe13TzxApm7CT upDqiLv9taJne9A+0q2exQC0ciwTvvqQmQwAHl+uS89aX4WEbtLOcNCv2iJU/2kzHnIe NVyCxrpibFCcVIzflRsIuAJPk+jD/XsKFjucR/A5ID3UOiav/Z53ssa6+pYJxjN+Bb3k aCZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7Y4u1Nj+AksGSx6UaBsaN0nYrI4rh/YV1H5l1JuASz8=; fh=qi7etthIZPn4YtHX/IWQPBI4PxnILRK4pg0YG99XdMg=; b=urAYp7AlQK293tBnsZgcwukp4mt3vA1O5zyD3fbms8dsXBGU8PXkz5Lt+dd8qxRPlm zjW+Vdtm7codKAxJrz2fgyFk70urDLXWTvNzC1X32dxgEBzlJ61dHPLM9wXkeu2BLURt 5kywHjZJ/zp2inglZG7SgFgz8HCCx9krkwOXDrBoRM+W8FX5W0MpsVQxbmHOwuATLbnV sJD74pgy4/KQu9xHpMKj18bcdmRsqAtdJd13yUVN1mR405BxW+YBawKkVt7j0NMcHwHp w4qhXzlVm9cJvdNvgMGAmIIksHEIbC6Hx8AmJUqJjgiUEYCLvRARWKTo9uzR7ZpJYni7 Lmdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=S0pOlmHW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id p189-20020a6342c6000000b005b9687105dfsi14170924pga.597.2023.11.29.09.23.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 09:23:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=S0pOlmHW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B3D6980BFEDF; Wed, 29 Nov 2023 09:22:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231783AbjK2RWq (ORCPT <rfc822;realc9580@gmail.com> + 99 others); Wed, 29 Nov 2023 12:22:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229586AbjK2RWo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 29 Nov 2023 12:22:44 -0500 Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16B5A10A for <linux-kernel@vger.kernel.org>; Wed, 29 Nov 2023 09:22:50 -0800 (PST) Received: by mail-il1-x136.google.com with SMTP id e9e14a558f8ab-35cd70d7735so12329885ab.0 for <linux-kernel@vger.kernel.org>; Wed, 29 Nov 2023 09:22:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1701278569; x=1701883369; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7Y4u1Nj+AksGSx6UaBsaN0nYrI4rh/YV1H5l1JuASz8=; b=S0pOlmHW2VPjUFW+5TNlX261QsSnndlMt/A+4NzyI8KPmJ7vF6C7nFujTKrRbGjirO e9ivrtaukox3+U3/WLpR7KoghAyHjP6m6Xm/47KeSFrb92PhHY7CzYuTsKnXFzHLu6g/ XoPU+AauCI8F46oLLPXKpxV5LgjWeNiCZbHmw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701278569; x=1701883369; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7Y4u1Nj+AksGSx6UaBsaN0nYrI4rh/YV1H5l1JuASz8=; b=Ws9bDIr7SkMbXMm+s9zTK9QCj0kO8zDSaarfyk2Ka871n1uEEoz26BqE0veRJGB3uv 2S1N7JzupNSBwmC0sf0aKcKUawO554yej8CGF/HPvAPygBp/hpWo3Xcnsu78wop+FjWJ LFPBh9+7yUBOQM7vqhD2JFmcGS0sPGqpIJwH8JjUT7aHV01yc+sgqTjlngXuNzL1BFPI oD9eRQHnwFhNIrepf1ZtXlaeeuhO4P73eQ1zdDEpLgPIpy3nRsdzV9h6Oj21AeSryK4B Hil7+90E1aCX2E+o21A+tEahSw5MboJCbSy9CsOEN7+tuVsutclaN4t/nqN4IkJNF0bd VDkg== X-Gm-Message-State: AOJu0Yz04+zN9HsVDl0rlhx0MNPQvtmNYExHE8bADLPUGxp8rR97BfGR 06SAa8okCDzxzkVoS2n+aU1ESQ== X-Received: by 2002:a92:cc49:0:b0:35c:8738:7e52 with SMTP id t9-20020a92cc49000000b0035c87387e52mr17451545ilq.4.1701278569521; Wed, 29 Nov 2023 09:22:49 -0800 (PST) Received: from kea.bld.corp.google.com ([2620:15c:183:200:f4fd:5056:45a8:b749]) by smtp.gmail.com with ESMTPSA id di5-20020a056e021f8500b0035d2fc4ce47sm471212ilb.9.2023.11.29.09.22.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 09:22:49 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: linux-arm-kernel@lists.infradead.org Cc: Masahiro Yamada <masahiroy@kernel.org>, Tom Rini <trini@konsulko.com>, lkml <linux-kernel@vger.kernel.org>, U-Boot Mailing List <u-boot@lists.denx.de>, Simon Glass <sjg@chromium.org>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org> Subject: [PATCH v7 1/2] arm64: Add BOOT_TARGETS variable Date: Wed, 29 Nov 2023 10:21:52 -0700 Message-ID: <20231129172200.430674-2-sjg@chromium.org> X-Mailer: git-send-email 2.43.0.rc2.451.g8631bc7472-goog In-Reply-To: <20231129172200.430674-1-sjg@chromium.org> References: <20231129172200.430674-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, 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 groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 29 Nov 2023 09:22:56 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783919889134135845 X-GMAIL-MSGID: 1783919889134135845 |
Series |
arm64: Add a build target for Flat Image Tree
|
|
Commit Message
Simon Glass
Nov. 29, 2023, 5:21 p.m. UTC
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 <sjg@chromium.org>
---
Changes in v7:
- Drop the kbuild tag
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 9a2d3723cd0f..1bd4fae6e806 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -150,6 +150,10 @@ libs-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a # Default target when executing plain make boot := arch/arm64/boot +BOOT_TARGETS := Image vmlinuz.efi + +PHONY += $(BOOT_TARGETS) + ifeq ($(CONFIG_EFI_ZBOOT),) KBUILD_IMAGE := $(boot)/Image.gz else @@ -159,7 +163,7 @@ endif all: $(notdir $(KBUILD_IMAGE)) vmlinuz.efi: Image -Image vmlinuz.efi: vmlinux +$(BOOT_TARGETS): vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ Image.%: Image