Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp847102lqh; Thu, 28 Mar 2024 20:29:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWbEFy8UN/dgrPI3ncXOh/vN1msWSk2oSa4Ehkm2b0lS3rgeyxX77YUoExlv5F6M6fbYGxlXYHFA77V40RlaLH/msAQscbxM+wxCw+SHw== X-Google-Smtp-Source: AGHT+IF7Kvp0DcJDOqSsPPgshdjt5e2FoTZu8L8k3sUW7NyhpQnm+CXaYchwxonOQiEDqbEMUZbM X-Received: by 2002:a05:6808:3c49:b0:3c3:c0a9:9e with SMTP id gl9-20020a0568083c4900b003c3c0a9009emr1561356oib.12.1711682966666; Thu, 28 Mar 2024 20:29:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711682966; cv=pass; d=google.com; s=arc-20160816; b=1ALS/55A1LswJa6xYzzxOzpORQQni893EWg0o/YhorhoReprGdl1gS6hleI7LfL+Fq NO5sKwm4mJnlfb/SmTi5vst792ep9l/lokEezioFKy+7NL2p19SY5/4mWED++8h+R5X7 FvDBLSeu1dKAYUfmd4LPHCt2JApwSNql1qVKhvVjE9mUcJXwHFs9Jl0SvjZ+3XbX+J1b SnLGgQuLr3yxITYHj/axbijnMHQdpqVwIvY9ZhvStByFjBGlkE4DcMYLzrivGmfkaj6e AQc/QW5i1UzuS7tcC4jOoyWar092cObL7Hea1NF5mu8d6k58U/5w/Me5AXvxNyF34YsX p4Kg== 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=h4AIGmWLZEZkj1D4fEaZ1ujtZzMq6j3rI/hIdjInRoY=; b=DgM5fSQyAGHu+UZBZPnRjVW5e/qPwWIGQAhledCvDX8tFQatIYJkX/ijFPmrdhEjJ1 SuRNRV5gDOpx8fVvVKomX90OibO5FKitV1qOkYlTdGpNoWKF2EeI3hDBhflybcf1wQfy 35RuVWAwJ+3aH6+Wk3i3OVuhl5Sp0ZtRYYCzTM8+LtOuMfsLouSNu7ktrn4tlsyD+/80 jMWPDel73aZYJPhoHzHQsu4UHKmYkIEQASPYTWc7AocoJGLeMPeMyJ2hB7RYKsDWV55l WCGj6nZdAGku9rRfffmZwC1uwfan7F6ObJn4020oSKUY98zz6xH4GxsNY76YGmErUs4n fPyw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Ojtcnr9o; 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-124086-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124086-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p1-20020a63ab01000000b005f0565df1c5si2684699pgf.441.2024.03.28.20.29.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 20:29:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124086-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Ojtcnr9o; 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-124086-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124086-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 51BA328B7AF for ; Fri, 29 Mar 2024 03:29:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D2FC39FF2; Fri, 29 Mar 2024 03:29:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Ojtcnr9o" Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.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 153BE39FD7 for ; Fri, 29 Mar 2024 03:29:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711682956; cv=none; b=IfA/Fcvoln4C0OVSqd17FY9aubUYPE/TCQxdB1MBC2v3UpYg6Yz2AlM2As7r8OxKIkjVKaK+NfIqYO1NAY2U/Mid4SQ/cyAlfm0lnFD6ZwPW8XTZwb0RiC8Ae+qCg6nMc8s6colKhhBq5GqQQot7ySOPBqUZh/cTpjeMCLoTLlM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711682956; c=relaxed/simple; bh=dNfCnyYu6IRwrfNMDUHXM1j1+SDL3HQcYxuxumbPwlQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=X7fvMIKUTK+tC0lklwMllartaTc33mS386u4KKDuBDXZa3T11+ll2I7a0gO+bRR1OpoGaIt1tElAyzsAHsXE46LLhCNbKXXQ+FecipaJhewWluO+PiZJprq3SHJpaCHTmo9TsGd5NKAd9xMWrOMJL3E5IAVGfJCH4rLVpeItLNg= 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=Ojtcnr9o; arc=none smtp.client-ip=209.85.166.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-il1-f176.google.com with SMTP id e9e14a558f8ab-36898a6f561so6602425ab.2 for ; Thu, 28 Mar 2024 20:29:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1711682954; x=1712287754; 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=Ojtcnr9oc1m/Nmu2KY/TRpqAq/NKugsXhGy9v3aGId/si6lz9M+YVlLw1hRn8QmxtH 2vc60Y0r9SUDikFiUYalrF4H1nPTDJZftvF2+hvnkHgITBzDl6RUyCwftyH1HMsMsDjS 1ipPpCd85iJsgPoh5fTldHuKkBek135+REbko= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711682954; x=1712287754; 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=TABwLxRw09XpXdMHuG/4Zeju5T4euDLr2z5zaLfOmMZmXSA5da/w8/r6NkHPpmyqKt um039+maiKwyEL+vh5+12I6r3npRUWuFcJdFZH/OHJ4AoubMwUnXzTpKxh+xM4HxY8GW h+ZAthg61YU9I7aWwwYYrYQ0zv/nvod/zs2XO2FkGMAmN8yDFPbTESj19723rAXjKHKc bwD1qj8IJ0C9yWsFyNnk3Uocv0IaZlkM2SvhVpGkdf5RhcuZ3BFF9C3LRslmJV3frY/p 8H8d/wW2rBN0RzBAQq++4VKOu4HPxcgoosF4tSizp9CaqsaLgG1qQ/TJk0Bh4tcAYRVB XeCw== X-Forwarded-Encrypted: i=1; AJvYcCVVrkAnr5jFXsMvGiykUP0D7DkdvRhKyxvOc9xER/aWUdcmv9RkVaY3ktwRcu1y61JNELq7T9h6I6ChgL8mpEywsGBwycDeE+p7cCei X-Gm-Message-State: AOJu0YwF6ztys+UFYof47jj/vP1Z58g4mdldtwVDAERg8braQ8pV12Qb ARQn9xHpX1JEdinxX8qtRMA4MphF3Qwqud40/M2sDlBlMkxtZmS6ZecOtYFFVg== X-Received: by 2002:a05:6e02:b41:b0:365:1d57:6da0 with SMTP id f1-20020a056e020b4100b003651d576da0mr1077561ilu.26.1711682954344; Thu, 28 Mar 2024 20:29:14 -0700 (PDT) Received: from chromium.org ([75.104.105.200]) by smtp.gmail.com with ESMTPSA id l7-20020a056e021aa700b003685b574968sm815717ilv.51.2024.03.28.20.29.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 20:29:14 -0700 (PDT) From: Simon Glass To: linux-arm-kernel@lists.infradead.org Cc: Masahiro Yamada , Ahmad Fatoum , Nicolas Schier , Simon Glass , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org Subject: [PATCH v12 1/2] arm64: Add BOOT_TARGETS variable Date: Fri, 29 Mar 2024 16:28:35 +1300 Message-Id: <20240329032836.141899-2-sjg@chromium.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240329032836.141899-1-sjg@chromium.org> References: <20240329032836.141899-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