Received: by 2002:ab2:5c0e:0:b0:1ef:a325:1205 with SMTP id i14csp158152lqk; Wed, 13 Mar 2024 21:28:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVz0YFciNOrI1rl4GhFwgnPJewq5cxIhT8jNZMbpu/jfCKFmOkDlGTbgovPJHr5sg6WiG5m452BzfTkejjWpme6JEuumrQUROIJajVKjQ== X-Google-Smtp-Source: AGHT+IHz1xt0lG1KX0rEgE3ar7/FURgpDqcOkrfFNxEXKfY6kYTen7Vanc2B/qUofy3qi6yReHur X-Received: by 2002:a17:90a:4590:b0:29b:ce32:82ca with SMTP id v16-20020a17090a459000b0029bce3282camr1201198pjg.16.1710390519301; Wed, 13 Mar 2024 21:28:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710390519; cv=pass; d=google.com; s=arc-20160816; b=jTjjiFkSeMOHFepRVqH+BWNB4Tz52roUA4rtFWctw6S8moysItpCr8BvIr46EgI7GG jZHSt2LZR8mfiVkAQSNl0PFOVfC1OErnU2bx95cS4wcj1OMx0wvZy4GrY+YKnPkv3vfQ 7kxHOAatPi9qhs9rsfvAZQFC499siMj0BTtn1OYQZgl9qkGWV8/nSxds/KVL+RZVifsc WmKND49RuLRPJFdSgA3RqIhCssLkWo/5OqH0dbbyAdCn2CXycwqWikTwKATeB2J5Zrte HnWKv9KfjhvFErGKmbday+XWGVO5dL9ZsqvNBMqsAC+3GEWvLXRbIPcOc2gOJg8rduqp s86A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=sj1MXeANmDRLF3MEitp9MoX29tLTgbBs/EQT3G4Krt4=; fh=q8LAiv/paVx3QZXaMAz3MvEtGayUVy8iUxb/JfJomXo=; b=TAogd0jfM97V43oBAxi+PnxhgDbYtS+8fli0+u8n2+o+9RaBVtoOu5tCszbSxeVgyE wJjNQhKVvjnd7XvtWiJpjf4ItioT8t4WIznyiXdKsb1nEGK0ojqfBtzx4zcl2ouecv5s tZIHUCZV6AztVjJZwPmiFX1gBMWQXV9bmiiyT44N4pP9BYK/NzmBJ5nJHlcdsH4frLXe LfYpCnQI0Dk9Cw61Z3/fsimUY9F8rYLamWDuS6gNrqay4zTfdkSYXhPlxPiuwgpqnoGt iPOyrqoE2SEvzXp0qMqlAkV62gmV2V06Yrf4es2sXJRiV+DqHLtN72zLG7HpawX0Rer0 mSyw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Nbvk6EqY; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-102770-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102770-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l5-20020a17090aec0500b0029bc1e34e56si765336pjy.81.2024.03.13.21.28.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 21:28:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102770-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Nbvk6EqY; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-102770-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102770-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 33B20B222F5 for ; Thu, 14 Mar 2024 04:28:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 939F08C07; Thu, 14 Mar 2024 04:28:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Nbvk6EqY" Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5CAAE611A for ; Thu, 14 Mar 2024 04:28:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710390508; cv=none; b=JnZ7LLnSHfTLq2FQ/BmXISxNTxc6RRjHtgYN6HdL62QMXOsfqIclekZw8o3NUKvWOHMuEy6z3+giGMOLHpiifZvooT7gPWJbHTMXRD0YEZwuKFgAar7anqRvv56ihX633lyES4l1X1qsQhwG1KZ+mHTt2yvlE/FJuTtzNPvYZWM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710390508; c=relaxed/simple; bh=dNfCnyYu6IRwrfNMDUHXM1j1+SDL3HQcYxuxumbPwlQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=rBL/LKDrpHnF5aVVkZhI/VJj57Qhhs7u3dy8wTn1+hnZjxIvl1INw/6LnUsmsmACFXcfmdM92/Z4JjVGBYgID6q8c8dotJHJMpV1X0kRJR7YvfQQdrnSjGA80mlzgIc9nK2AgQnENXzpWF3CpRDYRhc+Ke67qcPag8GTZHaXwtg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=Nbvk6EqY; arc=none smtp.client-ip=209.85.214.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1dd8f7d50c6so12618635ad.0 for ; Wed, 13 Mar 2024 21:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1710390507; x=1710995307; 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=sj1MXeANmDRLF3MEitp9MoX29tLTgbBs/EQT3G4Krt4=; b=Nbvk6EqYOxCdsE14WIpHDvSh/SAVZfw/QlZF8YujJv03OtGkSOLE/thrxPYEIhPWb3 wGZlAPCzDOhNfp6l9KuZQPM/ZVF8sBP03HlATb4Ttuoy74ItCc5ZJ5NnmeJtrTSiEjpK xfmhumo4zOt00oPM8vmkvpsnlWOkMa42zlImM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710390507; x=1710995307; 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=sj1MXeANmDRLF3MEitp9MoX29tLTgbBs/EQT3G4Krt4=; b=mnDT3X8EmIDZ4e4YnDIQozdMcvdu7qJaZGQbZuzxerLAepGQs2Ec84ALWLSR6BHV2c xOuphcYt027i+mlZxfmQqDPCkQEmxz0nBINCl3ztnbCh/Vjj+PyAHiAwBYzDn7edgKaJ SYBC5qnjImiUe4jy15V7id50B+zP5ERxO9NIOPhh8/No6+lKb/HX2EoEbwDLFggf38wL koVmfwwveakYR1uMWI9e1Tge+JQ0n0luNrKXlgYAaxS5SskOG4WA623Z6yBFJpKoQnR+ K5uD7/seeY9EPLVg6J+qUU3axmoPMwOpsqnBYOORaGDQgYnnZ5V3d7yQdb7LkL9Ct3Dc YDrQ== X-Forwarded-Encrypted: i=1; AJvYcCVjN+UYXxJHi9X5LQu0+TTS/LCM8QSKqNxmZtj28oBArumkrOIlhNmGsshYjXIpooGTE07w3rFJ05KhqkFfWKFVDdvOaf224K4sbNZE X-Gm-Message-State: AOJu0YwgQ3zduPLlgAtx6Gci1IwhEDQatYMC4Ji2XFJm50MVgbs3ylFG e0txlgxiGjpBYBiyWGxtREiysqmupSQLlVTLiiw39rfZ01SW+fLwf3iUtuT+zQ== X-Received: by 2002:a17:902:f612:b0:1dd:c938:8f8e with SMTP id n18-20020a170902f61200b001ddc9388f8emr1411096plg.10.1710390506692; Wed, 13 Mar 2024 21:28:26 -0700 (PDT) Received: from chromium.org ([118.149.78.37]) by smtp.gmail.com with ESMTPSA id u5-20020a170903124500b001dd98195371sm479200plh.181.2024.03.13.21.28.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 21:28:26 -0700 (PDT) From: Simon Glass To: linux-arm-kernel@lists.infradead.org Cc: Ahmad Fatoum , Nicolas Schier , Masahiro Yamada , Simon Glass , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org Subject: [PATCH v11 1/2] arm64: Add BOOT_TARGETS variable Date: Thu, 14 Mar 2024 17:26:58 +1300 Message-Id: <20240314042659.232142-2-sjg@chromium.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240314042659.232142-1-sjg@chromium.org> References: <20240314042659.232142-1-sjg@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- (no changes since v7) 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 0e075d3c546b..1217d97998ac 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -154,6 +154,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 @@ -163,7 +167,7 @@ endif all: $(notdir $(KBUILD_IMAGE)) vmlinuz.efi: Image -Image vmlinuz.efi: vmlinux +$(BOOT_TARGETS): vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ Image.%: Image -- 2.34.1