From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Nbvk6EqY" 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-Google-Smtp-Source: AGHT+IGGQ7GdScbH3CvI6seZ6/6CyftsJCfDx8hL8rSVmYyHMWvrc7qxaObFDWDqWeqs47hyWv/jkQ== 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 47AE2C54E5D for ; Thu, 14 Mar 2024 04:28:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EezOz6RS6tfJGnU0OChjqoXC9BP4VDmmmUJgHkwA4rc=; b=VxZ5l6Qw/2vKO7 3JeL0ylpHfmajAAdW3wsV0RSq03BJLiXBlUKD8OyDguN8o33rGtIwD8B5VnFOSTfO8PtrCll8LHZ0 38vPEcNCdusl1iXdV+Vgoo5miMS6QTTzuEsnK88MyVuyX1pZPTHhD4W1MihQ9kYaSrSoVdgsMgqrc f//6JTT1LG6AidJBGnme/D4CSyMGl2lOBoVgW3fq4DyL6TE3YXhsg6DE/KEpeg6QopujntfP8Wgxh GTohHcDt4uNdhrAiU4RZKuVU180rYQ3GTvC+GzykX5H14yGs69VxhNYTOOxyHeFoVeqSy0oUwb6Iu vACktnb4Vd3vj2mQ+YYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkchl-0000000Cvpw-2SHn; Thu, 14 Mar 2024 04:28:33 +0000 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkchh-0000000CvpH-0Ciz for linux-arm-kernel@lists.infradead.org; Thu, 14 Mar 2024 04:28:31 +0000 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1dc3b4b9b62so3684305ad.1 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=lists.infradead.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=R0AXBYgKpWErCNOcnuhG268LR6P2m9elEvz119XNwAahxfwxngNF/O4Jqw9PZEB++W eMSc4NTWp1L6U/MyXtgcNqWu+tpYUK5GRdTIWaPkbsTR4adsk2JOWN2I4yN9GsFwufZv e/juJxS6IbxCDAOD1Li8vkX42qkCotapmBHt8= 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=gysve5fVr5qSh+E7mawnkxV4E4RJguvrxqEy+egQeTb7QuMqcA8Bn8OBO9WUvjWrGY 0jzHfo1cl7FrzP9pVGqwawOVZUn9vwdmh+BZhO7ZCGTtn4NdMVOp682w2vBTece8wdtl ny+UjEmbG6cXjwP9AhBWEyKrrq8Utxad+3RqAOyZ8nVpd7mbLuWqcPqSp7q4W4N1JmSi ynCclpVeJLUAvgbkAHRl49FaPwSQ8mwLF9YoSR4uliJ5PP7VAeHj4Pp5CKmr+CfxI6GU HrF8gQ17P9mZgI9eNMNRC2IKg3xqqnkcEfjaw9rckw7a6H8UittefHrcOKk581DSIsFx PFyA== X-Gm-Message-State: AOJu0YxLRZN/Mv5OO9vVQUL3s6GvjkclgXg9PLwgZxZ1crT1h3BH/pdx SEh2Kw+IgYCYkNOrglzsgsHrUL4xRp+vanHLbzCercP6UbgVZjjl0W/H/W2v+DYILcsdGvuEnJA = X-Google-Smtp-Source: AGHT+IGGQ7GdScbH3CvI6seZ6/6CyftsJCfDx8hL8rSVmYyHMWvrc7qxaObFDWDqWeqs47hyWv/jkQ== 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240313_212829_111994_474AB662 X-CRM114-Status: GOOD ( 10.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel