Message ID | 20231111002851.1293891-2-sjg@chromium.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b129:0:b0:403:3b70:6f57 with SMTP id q9csp1470234vqs; Fri, 10 Nov 2023 16:31:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5YwyxLT3aGHK8LpvWJTutTjSMHwJ3/f5K6SLhYDlOdGf9pm4qAvQvJXUkcVY8+ivE66dV X-Received: by 2002:a05:6a21:6d9c:b0:181:98d6:6b01 with SMTP id wl28-20020a056a216d9c00b0018198d66b01mr846263pzb.5.1699662662701; Fri, 10 Nov 2023 16:31:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699662662; cv=none; d=google.com; s=arc-20160816; b=QTnRin3+VTnoPeHcmzvlPCVZ3qnAPSr1cGJNe/owwgJh36n5FeAmn2hz/IZjjskEKU cy+zPEcFzx7HXRIRXaY051MHhvVf3zxvMMkOdoKbsTu7s/mDMfUdLFLvrMYY21jA60fX HKkMK1gAYIUbCROSdEzn6TKaK9HwKZZeTPBZUCs9NrOY2Q574xG0cVOGYKhdQmHJyEXG PO6KzBk8FZU9troWoHO7UnHrxeMR+OBlcBThOIMZu2pwAa0pxk4rZYkvGVR8WTnQqmIl 0Lcd5mHWmsH51WGgBXeML50Avu6wcJWGgDNc8UYLcEeTDYr21hOUMeFx2233SgJGz4bQ lT8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=et5CNEbbpEZc7/GZDGct9Q6Ku2JLjZggspOXrOUtq84=; fh=1dpCrHNHPJLPh5axRIT28UW8AM4DHfrtIqq5vR0E1s8=; b=RM9ZJeVJfXCc15SkPTAuRr8fJ3VNhm6P5G7d14TBE4W8cFlY2mVdkSCgnnt133L7Fd e3kejek9kH9CGJbmmtKjMjHqFML4DzY/VH2XUhUIKRbuAUAn2hejSGJByMgcf9CY03I3 qTgRcoabrnBvWCsHJeSuR1OG+krW7VWzS6zP5WtS1ARGtrco1vyeKBC/c8SrXDqc/zKn 6R9pMiLZcAm9VXdiS9wx3NVK+NXfaV9HNQsVhPkUI4HK9YZtG3XmKNR6EtgEZc5lE6aC meyMeBcA8zv10fDuXCl9sCjB4wzwvRdZTcuH+Jpu0v0Pp6Sy1mf6MA3QOqbp3VErH9pR pl2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jCJRr3OK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id cl23-20020a056a02099700b0055fd1bfb109si600577pgb.679.2023.11.10.16.31.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Nov 2023 16:31:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jCJRr3OK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 94B2F83B7BE8; Fri, 10 Nov 2023 16:29:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345006AbjKKA3i (ORCPT <rfc822;heyuhang3455@gmail.com> + 29 others); Fri, 10 Nov 2023 19:29:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229667AbjKKA3h (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 10 Nov 2023 19:29:37 -0500 Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCE9B3C39 for <linux-kernel@vger.kernel.org>; Fri, 10 Nov 2023 16:29:33 -0800 (PST) Received: by mail-qv1-xf2b.google.com with SMTP id 6a1803df08f44-66d0ceba445so15109686d6.0 for <linux-kernel@vger.kernel.org>; Fri, 10 Nov 2023 16:29:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1699662573; x=1700267373; 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=et5CNEbbpEZc7/GZDGct9Q6Ku2JLjZggspOXrOUtq84=; b=jCJRr3OKUZEcYzMNJOYm1t2coSht7aLjNgoGjN0LaN5whas+IGLRWasNAF0WsD17Eg bz3z4SrNAKkLMo+cg300sH0YUaE4Pns8Kg4JtWcTB6RZ2V2AKcK1MeJyylfLFPKG9VzP 2sORn4m1q+Zv2RckZpFBv164xVJ52KhQeUsjY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699662573; x=1700267373; 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=et5CNEbbpEZc7/GZDGct9Q6Ku2JLjZggspOXrOUtq84=; b=YYGzQRgNh0oCa5RFO7CtZkSDJODvHIBy+h0A6RVjJQZHRv6IWx7iS+zsB8+AbD5292 hkfAiZwZPl5W0NpUT5dkY6vcDIaP3Vg9hJHrvgI4tRuzwkB8DzehlVn/vqHH0f5AJP3w 5129Z7WQA+GWNZHv0SOJ3LqxONfeYR1WYfDi8u9lRQSR4PHoFpiQkraD8FdkZBoFQEdG lPUDTFmomnYLBLMrWWwmqslGrnAlvWXQVk32BBS91IiqEDHfOC6Ow0dWzN9ZUCwTU3n5 NOEFtGxXlUWr+YoqTquS0YkOtmwE18Ut7jAKNxU5Zm8rUthbXXTFoSxOw6VyC+HxOVA5 qEHg== X-Gm-Message-State: AOJu0YytERyY/CmSuYmJfwkes0tc+gYmcv/DiGmTGzyoTW+02jSKQ95o PAO8GSwFEjGoyN+4onEeoY5VBA== X-Received: by 2002:ad4:45b4:0:b0:658:1eec:408a with SMTP id y20-20020ad445b4000000b006581eec408amr734218qvu.40.1699662573056; Fri, 10 Nov 2023 16:29:33 -0800 (PST) Received: from kea.bld.corp.google.com ([2620:15c:183:200:5104:5a27:f95d:21d1]) by smtp.gmail.com with ESMTPSA id l16-20020a056214029000b00677adcfd261sm55898qvv.89.2023.11.10.16.29.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Nov 2023 16:29:32 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: linux-arm-kernel@lists.infradead.org Cc: lkml <linux-kernel@vger.kernel.org>, Tom Rini <trini@konsulko.com>, Masahiro Yamada <masahiroy@kernel.org>, U-Boot Mailing List <u-boot@lists.denx.de>, Simon Glass <sjg@chromium.org>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org> Subject: [PATCH v5 1/3] kbuild: arm64: Add BOOT_TARGETS variable Date: Fri, 10 Nov 2023 17:28:00 -0700 Message-ID: <20231111002851.1293891-2-sjg@chromium.org> X-Mailer: git-send-email 2.42.0.869.gea05f2083d-goog In-Reply-To: <20231111002851.1293891-1-sjg@chromium.org> References: <20231111002851.1293891-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 10 Nov 2023 16:29:57 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782225476338560348 X-GMAIL-MSGID: 1782225476338560348 |
Series |
arm64: Add a build target for Flat Image Tree
|
|
Commit Message
Simon Glass
Nov. 11, 2023, 12:28 a.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 v1)
arch/arm64/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index 2d49aea0ff67..cd9bca2358d2 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.gz vmlinuz.efi + +PHONY += $(BOOT_TARGETS) + ifeq ($(CONFIG_EFI_ZBOOT),) KBUILD_IMAGE := $(boot)/Image.gz else @@ -159,7 +163,7 @@ endif all: $(notdir $(KBUILD_IMAGE)) -Image vmlinuz.efi: vmlinux +$(BOOT_TARGETS): vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ Image.%: Image