Message ID | 20240202173034.221790-2-sjg@chromium.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-50238-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp582933dyc; Fri, 2 Feb 2024 09:31:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGXnFOzcH4lT1OZXTUS7b5PKGEN20b9A/bkedYyDhxgQECrWQ+PTNS1zcEkOAHtPVJq3URu X-Received: by 2002:a62:e415:0:b0:6dd:e65e:e2a2 with SMTP id r21-20020a62e415000000b006dde65ee2a2mr8078960pfh.33.1706895110612; Fri, 02 Feb 2024 09:31:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706895110; cv=pass; d=google.com; s=arc-20160816; b=J+CYWn7Vadme/IyDqMmXCJ5Ow1ENZKAAhbPlm+w6/dAkutSjCWdX3AplxbMGkk4gW5 v/qnwdD6jLnBd9zhaGapNpaolqNetFt+cFv3DlBked2NTHfN1dSgl5MJAW8IHNcRz8Ea Gja3DuZdA5QI5Aefftpo9qLMDlxFHaTo59b31DczPjoTRwgcILrwwvJ3xXxRZrNyzA+7 Ghs95BD7guX/2iqY4GPDaY0cBwTTRBmqTRTukRltMYNlZxGLXEbkE33PDg6Xy737zKzI xAFYmKw3MEdviXnrTKFXkXCqEGGVfSFRngOB3KxeglyAKdrZJFOZuzPiF3Fac0Pg5m2T 3Sng== 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=EU1ifCaLt5qbhGJah7WO/v8VE5W3QppoUyLGDp5sExc=; b=v5m4TfLghUO0356wdPXHt/8Tx7YgJUESyX9XzV4iQF4xsH7MOUOFzhMXRHz7peTQw1 VrX7/z8ef0naomSbyHBQCon8dOCZRiTYjeRHhXJkIOE2p/330uKqxIHFA+BZxMkNs61W 93z/CMAjIFKc6OCXT4RJ3Gkfj2jfTSC8UBR8bNNNelXyCRfzD13XYZMzK8BxDsBo1IPf 9VniSAMRd/hcG7W3spgghgyxIYTx0ja8S2mtbOuNfoukzys2L+QPWSfueuxM9Hzipnfh Q8gWYt8uWqht4MkHrrCJy/u2c0ck/nQFjNYemfI2YI7dkPXryMxD1QbqI08KgduntiNw O3uQ==; 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50238-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org X-Forwarded-Encrypted: i=1; AJvYcCVpeXMct/r0egmUQMaUUTKA1E2cPtLffhTS1BPc1PKAvBpZuNYR1iAuI0NLhiKOajDGQC4FAyWa8duOZMpkIjrCmhFmwA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h1-20020a63e141000000b005cdfaccba35si1928371pgk.665.2024.02.02.09.31.50 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 09:31:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-50238-ouuuleilei=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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50238-ouuuleilei=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 658AE290E73 for <ouuuleilei@gmail.com>; Fri, 2 Feb 2024 17:31:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 855934776F; Fri, 2 Feb 2024 17:30:47 +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 <linux-kernel@vger.kernel.org>; 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 <linux-kernel@vger.kernel.org>; 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 <sjg@chromium.org> To: linux-arm-kernel@lists.infradead.org Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>, Masahiro Yamada <masahiroy@kernel.org>, Nicolas Schier <nicolas@fjasle.eu>, Simon Glass <sjg@chromium.org>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, 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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789809247062765815 X-GMAIL-MSGID: 1789809247062765815 |
Series |
arm64: Add a build target for Flat Image Tree
|
|
Commit Message
Simon Glass
Feb. 2, 2024, 5:30 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>
---
(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