Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp978016rdb; Fri, 2 Feb 2024 09:31:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5WpMUGlUY/hrZL4Lio1NAh5UymFz+UqultmN2aNo10vz1IM+Rw5g0XJUjXxoqK/kILzT6 X-Received: by 2002:a05:6a21:3984:b0:19e:3fce:c36 with SMTP id ad4-20020a056a21398400b0019e3fce0c36mr6762011pzc.3.1706895097093; Fri, 02 Feb 2024 09:31:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706895097; cv=pass; d=google.com; s=arc-20160816; b=HnH96mX0/Riw6ePcK14lHz/tWwD/EKwhIj/ONnqtRUdR5CQt6pE+ToEnqdPB1ZFwXv 36q7wO+sJBPrJ9LY/ZPFDcjcie1pR0F8NIyE6fsmK95v4Kpyl1eeiqfFApEHWOuoglOk KNB9DOnvjgvcWUfHfOMMzOcv5Tih+w1pw5Vx9AL4NSi/xec95X7C7RplGYdbRTxXuJ+s oXDhlUl7ySA5U7BrLfPn+m7EWt5+FAP8Cybk0F9tS44oqULv0OFErZRXag71SLmZxQnY IW1UNNNEGRJ48r7PRtWYgkiswrgoXIQxKO3Wx14J6jmUuJY9VQzfPCV8zatdNLYVUeVJ 6Ypw== 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=Tzgmnc/dVe67zqThKg2HRZiMqYk93YXXRdjM9PXNfFY=; fh=29KEy3jsAP7U0JK88Tq3ycegXHWo5mbGq16zxXrEgPM=; b=Ep8LYVocSLxR3YSMiJ34SNtj4g9E54iLzlO8eGKRZ6EbQGMoPTRuvyQ8WXUm4xK1aD /OkgWhzpd3NUejACuhjXOkLf2slg7BDxEvKUybsIAXCkFN6r8j+RTn8XYED62HxZAwjs Oc/mtiPqx/5vBF64Xac7PqnxSZQj4pqC/ogBiDclFubrAlEG8MZAK/40o4zH3C9XHH5H Ipm5nka7ayP4WSdS5yuOV+OhVsY+aQcyWDeMN9ffwtcDu4cEBART0Htsv7ffkBPixF2K u87VRcfJg+d2yzxauHT4bZIVuS6yk2QeGtRiylg8hWusoh3cKR4XYFt0EJ+iTqmMKidU d8ug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Z7PwQ514; 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-50238-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50238-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org X-Forwarded-Encrypted: i=1; AJvYcCV7qTATt0+t5wcU3crgQUIfU3wCinTYCsPUtDMg5MgtPdq78dHOXT7iyZDEN5kgJ9chn3/FWvHPnGHWQLHRra8ARGhRp1pQr70DDVqP7A== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h8-20020a056a00230800b006d6f98a58a4si1880478pfh.255.2024.02.02.09.31.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 09:31:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-50238-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=Z7PwQ514; 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-50238-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50238-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 9DCDF290EE7 for ; Fri, 2 Feb 2024 17:31:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 67B2114C5B9; Fri, 2 Feb 2024 17:30:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Z7PwQ514" Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (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 E536614A4F2 for ; Fri, 2 Feb 2024 17:30:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706895044; cv=none; b=b+YJmJeWcG/sAesP0PUYwQy1Z36+xxwP8G5QEJYspoAsRJo44+VR6DVVohoMgegNrdVyaIyBoHEMvDQRRdvrfSdMY2zIJWNQ9M+Xco8UQbZzCElvMd3U58EL9MWrQBthg4AOTAh7Rv0SVC5IFWri8sNajj726xShNTAIjrrsOBw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706895044; c=relaxed/simple; bh=yPuFc5Hx096mrPElw26CkIg8PftBQLpZhjMEh1Ai9Wo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=sF/jYoEllqDSQE3det1HcaXELn4RSQSmVvyDQ6oWG8YOX/jQeIWxG+75AR7GbOprLZnOVAbzdJLGfdGIqVPVw1O4dWtpjWT0Wes6NT4SHPACTstPofBrg29fK2oX8hMSzykBClTze/g5LXDuOQlqB1mctAL/65L3PfQ32GTGcLA= 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=Z7PwQ514; arc=none smtp.client-ip=209.85.218.45 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-ej1-f45.google.com with SMTP id a640c23a62f3a-a3566c0309fso315718866b.1 for ; Fri, 02 Feb 2024 09:30:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1706895041; x=1707499841; 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=Tzgmnc/dVe67zqThKg2HRZiMqYk93YXXRdjM9PXNfFY=; b=Z7PwQ514xyA/s+47Kcj4Zz1EKyOMm+aKZwdxJLJBIR5SvAhbc0NUTXjPhC3nxLvK14 Kwq3bFFkbeA/Rdl/P23HG3pneSt9QAwLKs0Z5yO+X9eEilFITTFZ1jTkvW87Itz62PxM MyC0ML7TSmLFMoRWxW+NWCdogvW9p48xMCFHI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706895041; x=1707499841; 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=Tzgmnc/dVe67zqThKg2HRZiMqYk93YXXRdjM9PXNfFY=; b=oKAJAFO2b8RvGOLzKo8QfEgNCNnM6mYfayfpOrmf3AHZcjDxXIt0wNri0wxAajCsgD e8IpgKw0UWZAG4uGAsSpHmxLZC8vz0shnF9qbG9scOPWAT8WcNJS5kns+nWcJDB1LTGt E/Q/uV+R+WS0ztee57N+v6wGVoP+K9+EuFPe3TIo9nlVQPRukKylQmM8NU/0y7AqDw5N hjerrG11/gm+Iyi4V3N3Ld00+y6OeO4R1SKYyJm4fs/RgM2fFU1gphuvf3HMsW/AAhmZ fB5QUf+ZFz/8Dj03mJ+R8DE/8b5IrG0qCWBVMwl3kjZYtRfPelD9rKCUNZys9ZbuJn4e Jbqg== X-Gm-Message-State: AOJu0YwoJwjvLI0eR+uPCvmeso51SGjrMIeD1sT1SMS0XMlELP12bsHe KzAuTyx8gIGXMA1oBqkAjJcIO1pcYDp4nRVavQ9ea73D6rd4U+VLAr3zR0EpXA== X-Received: by 2002:a17:906:3953:b0:a36:bc20:9a40 with SMTP id g19-20020a170906395300b00a36bc209a40mr4037025eje.48.1706895041195; Fri, 02 Feb 2024 09:30:41 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVB+aeDQCmsjLIJCF1+hLEAB2MNuxDgtEcELXJAQrzVS+FKMfLPsHVNuRO0/x/w2ifw58p98oInEOeEGBFF/BoteWFKMfzmLbWwwF+yXGN5t8EZcLqc2POFH42h1uQwwSuLnVaQdpOEivnGT6yndjNtKffsMy/xOY63No5NoFBQA5+/AIROegXmnUIb/JrIbajw2npi4/Iw43KUERPlznK5KkPo5ADrHLBagAy8HrwKygw= Received: from chromium.org (66.224-78-194.adsl-static.isp.belgacom.be. [194.78.224.66]) by smtp.gmail.com with ESMTPSA id hd34-20020a17090796a200b00a36f314daa6sm1083392ejc.46.2024.02.02.09.30.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 09:30:40 -0800 (PST) From: Simon Glass To: linux-arm-kernel@lists.infradead.org Cc: Ahmad Fatoum , Masahiro Yamada , Nicolas Schier , Simon Glass , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org Subject: [PATCH v10 1/2] arm64: Add BOOT_TARGETS variable Date: Fri, 2 Feb 2024 10:30:33 -0700 Message-Id: <20240202173034.221790-2-sjg@chromium.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240202173034.221790-1-sjg@chromium.org> References: <20240202173034.221790-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 47ecc4cff9d2..83cd2b7234b9 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 -- 2.34.1