Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp572091lqh; Sat, 4 May 2024 12:35:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUOvSBp2Wpdnp/dF5aerVKtEUTxJNWsInO3QX9wUcyO4JgwgcGcSjKzkzfJ6vmBSSrX0dV8yNTPPglMlyAFmPiM8jEEXjllkMQqEgbjYA== X-Google-Smtp-Source: AGHT+IEHiVeu+0i0UW+jPha6u4GMXyPiX28hyEkDWGvLY6DDh9EWZduSOk5dO/Yqi8Z8eLjfjJvC X-Received: by 2002:a05:6a00:1943:b0:6f0:c8d1:28f5 with SMTP id s3-20020a056a00194300b006f0c8d128f5mr6067828pfk.24.1714851318517; Sat, 04 May 2024 12:35:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714851318; cv=pass; d=google.com; s=arc-20160816; b=wVcznZgib6vF29XlHe3fHJhg/ZO3+k2p+CgViljCwamBaScl+CWf0g9U50Axmde2Jh meS/l8U95lmQ9om75nxiyXJ+9ZZe4Za92bZf/G2NVGcIsk3D3UtVQ0RmMDeEzf+qGw1w p1gE82UpfmlkL98Q6Oai84dGW1ho+QxjVRLWlvZaxSy84nZfPIWB4lORcBBpphVzEdHp 2U0tqkgAhPtjjGDT9C8cmbCrvMzLfTf27oDrbV0zdeATw3RDGVozB9Kgn01VP7Jjipow vEsv+Q05oO3GKR3HodEem8rCCjDW8eciiRC1acF56JEkYSaBVQW7L41NhLm7KllNZr1F L1NA== 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=oOLIaUL1ksCYikVh+tjyK0yztXrep94eIS+0vADjCFU=; fh=TV50bVZwByU1L8O6FzIYd+m22wym9Gxs0SyevgmXaRY=; b=Nt/qHN6NmA76/olL4JWw2Er9AVHDxPjj0k2hnTjIGKKvnCGvu3fhuim0RXCkvYnH6O VNyiNJiV71apsHf4eWjpvJ/s9nt0+q84FpQ0ukou2jI1bU5pS9uXx0E22Om+74Xq8Rl/ 4D4HQyHO/46ogsWanqqCdtofVdO10NKb0KtGdImz1Odqvk55lFvACUXEwrSmuhQs0M/0 6RcWJPIF5TUxmaug296pbG2VeFpDYCcoL+IMfHke6J0OvVkabhxl3JCRXGKvo6u9L5td ftgg+wyPFG+jjW1o7Qa/Ijgx9JasXIvQSAZNXjx1pQzuoS18/OaANIneD2BXd69h8rZ/ vfBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=T7kiPB7M; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-168806-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168806-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i4-20020aa78d84000000b006f4463faf94si4457170pfr.250.2024.05.04.12.35.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 12:35:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168806-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=@canonical.com header.s=20210705 header.b=T7kiPB7M; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-168806-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168806-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com 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 271CF282435 for ; Sat, 4 May 2024 19:35:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9431584DE6; Sat, 4 May 2024 19:34:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b="T7kiPB7M" Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F390F84A39 for ; Sat, 4 May 2024 19:34:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.188.123 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714851297; cv=none; b=kIXUA8zV25jox158RaDPFe5/+HEyv5Sgc7lixVVr0u+i++v1P8vgS3clpIPkqFfWE5uk7GaB/cUGdzL1iCeVbMdNIE2KYSBrP8slQarJZHJ9uTpF8bCEJaJMnFS39hgC8v/3K7pn/9Ssq/Fn/mB7BvGAJYTKrjxc/4bKAIiaORk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714851297; c=relaxed/simple; bh=XEaqV9XPEDvIoeqoy5YW/LRhIP0/gA4kZoNFKJC8XUo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=iB3RXBc3jgEuGvXs+LwZmPXVh9Db167NT8dfagd1lZQChpiNoMmA9sdnQ3otnYz3K2xnZHpKvfpwIlNR2SkqVDqrIz1odvDV4PwcEaEKpYw46HWkkx7iBoOQ39xHZSpcfUVvx7NaG2ewTSrWtIJQvh3aY8a9NzeEsCJLfF24/k8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com; spf=pass smtp.mailfrom=canonical.com; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b=T7kiPB7M; arc=none smtp.client-ip=185.125.188.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canonical.com Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 348E03FE64 for ; Sat, 4 May 2024 19:34:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1714851293; bh=oOLIaUL1ksCYikVh+tjyK0yztXrep94eIS+0vADjCFU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=T7kiPB7MBIDBSTS+WShQ6lVKQurjj5c24WM5s+BsIUmizQDQGwZiB4raNsYwcGFUI KFOleLHiRPIxQIx5hU4hIQ1UAnL+BeWvFYvOIustYtQzqBpdTjSQuHwwBdjcnAytTB iS97DNWQkhNgfP1BWKVunY1/Fb3X/Rw0eNXy0ifUD7AZQkg1j0y9zRUCEUfv/BkYVg ti6ewuu6+wVubZH7HOJ1/ISf8cxdM6Ixh5oj0bSI7V18qSvtkalBzNn2PP/e2crAqA tGEGJcqzXSu+Xfyf+QFPGNaiEVqactq00yR1oNPTT7IkhREfQ/y6RMwNyxmkGfxOJH yUIwuUCDp4fAA== Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-a51acf7c214so22154466b.1 for ; Sat, 04 May 2024 12:34:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714851291; x=1715456091; 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=oOLIaUL1ksCYikVh+tjyK0yztXrep94eIS+0vADjCFU=; b=LvlEhEQrmzM1bRV0FSTXMMqZSiCCvZuQhzkoWt12ZvLSzW5o4qE1hFa9IhXPC70bUy D8+mvaTfUVxrKSHwPv0fmQRq/Xkwto4ydhQtlcCq1WEA3nRseyqtHGAS39SsMdq15Gkm kUkAQmKbgFQAvlxEyfCT3vf4RCbk2cZw7bcAWYuqhEjOjXPWWJGzlzzfnGkenNA4m9r0 kSTEty57LAyRuk8P6oLZY0Pt08Raitg9QqtP930W73kOesYJC5bMkWPi2CUehW2DJADt /hlq1H6mCDg6VdTGqRKUpZg2IPmBqKW43G69yvv5H3g65+Bdr5rBfItx6EzxvhYCZtPu 8X5A== X-Forwarded-Encrypted: i=1; AJvYcCW+eGjsr6J47myOagIq6dWbjiDvOpowpNz29+dLAIZgNLA4grJzsWp0myYLv3av60yjfbCJVmS1cHcw/BzxF8hj4eZ2hvD+SjFqytCY X-Gm-Message-State: AOJu0YzG4TGlqUsx7KAAEpjGHZJHuVV1e5EgA4dttL6d4i1yqv2zzBDU iGWdoFqDvLJw4snTR2Nmf4pSKZbnKoDQQ3xdN9xEp9SV/pqQ7c/l2MC9VC3A+tHjm5zdSxx6Hkp sBd0bmodhWcBmaRFBZCX1tfHK1BBNyR9tEWKo42aoJ10gC8yI8+UFWSpJXNowJc00kEIIiqjfnT MW7Q== X-Received: by 2002:a50:a693:0:b0:56e:2cb6:480e with SMTP id e19-20020a50a693000000b0056e2cb6480emr5037847edc.38.1714851291521; Sat, 04 May 2024 12:34:51 -0700 (PDT) X-Received: by 2002:a50:a693:0:b0:56e:2cb6:480e with SMTP id e19-20020a50a693000000b0056e2cb6480emr5037835edc.38.1714851291333; Sat, 04 May 2024 12:34:51 -0700 (PDT) Received: from stitch.. ([80.71.142.166]) by smtp.gmail.com with ESMTPSA id et4-20020a056402378400b00572d255e342sm2227021edb.10.2024.05.04.12.34.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 12:34:50 -0700 (PDT) From: Emil Renner Berthing To: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Cc: Paul Walmsley , Palmer Dabbelt , Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Nick Terrell , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= Subject: [PATCH v2 2/2] riscv: show help string for riscv-specific targets Date: Sat, 4 May 2024 21:34:39 +0200 Message-ID: <20240504193446.196886-3-emil.renner.berthing@canonical.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240504193446.196886-1-emil.renner.berthing@canonical.com> References: <20240504193446.196886-1-emil.renner.berthing@canonical.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Define the archhelp variable so that 'make ACRH=riscv help' will show the targets specific to building a RISC-V kernel like other architectures. Tested-by: Björn Töpel Signed-off-by: Emil Renner Berthing --- arch/riscv/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index 07ff2f34f0dc..ae51720199a3 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -201,3 +201,20 @@ rv32_defconfig: PHONY += rv32_nommu_virt_defconfig rv32_nommu_virt_defconfig: $(Q)$(MAKE) -f $(srctree)/Makefile nommu_virt_defconfig 32-bit.config + +define archhelp + echo ' Image - Uncompressed kernel image (arch/riscv/boot/Image)' + echo ' Image.gz - Compressed kernel image (arch/riscv/boot/Image.gz)' + echo ' Image.bz2 - Compressed kernel image (arch/riscv/boot/Image.bz2)' + echo ' Image.lz4 - Compressed kernel image (arch/riscv/boot/Image.lz4)' + echo ' Image.lzma - Compressed kernel image (arch/riscv/boot/Image.lzma)' + echo ' Image.lzo - Compressed kernel image (arch/riscv/boot/Image.lzo)' + echo ' Image.zst - Compressed kernel image (arch/riscv/boot/Image.zst)' + echo ' vmlinuz.efi - Compressed EFI kernel image (arch/riscv/boot/vmlinuz.efi)' + echo ' Default when CONFIG_EFI_ZBOOT=y' + echo ' xipImage - Execute-in-place kernel image (arch/riscv/boot/xipImage)' + echo ' Default when CONFIG_XIP_KERNEL=y' + echo ' install - Install kernel using (your) ~/bin/$(INSTALLKERNEL) or' + echo ' (distribution) /sbin/$(INSTALLKERNEL) or install to ' + echo ' $$(INSTALL_PATH)' +endef -- 2.43.0