From patchwork Wed Jul 31 12:04:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ga=C3=ABl_PORTAY?= X-Patchwork-Id: 1967073 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WYrPS2DzHz1yYq for ; Wed, 31 Jul 2024 22:04:44 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 7498D405E0; Wed, 31 Jul 2024 12:04:40 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id vDDZA6h8Ybv4; Wed, 31 Jul 2024 12:04:39 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 316B540DCB Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 316B540DCB; Wed, 31 Jul 2024 12:04:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 959001BF23C for ; Wed, 31 Jul 2024 12:04:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 7F9DD405A3 for ; Wed, 31 Jul 2024 12:04:36 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id de0K5ojUKEUY for ; Wed, 31 Jul 2024 12:04:35 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::335; helo=mail-wm1-x335.google.com; envelope-from=gael.portay@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 02EE540010 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 02EE540010 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by smtp2.osuosl.org (Postfix) with ESMTPS id 02EE540010 for ; Wed, 31 Jul 2024 12:04:34 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-428178fc07eso33634945e9.3 for ; Wed, 31 Jul 2024 05:04:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722427472; x=1723032272; 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=jgAS+p+KPFpSEv9GCii4qukmB8NDni+bJVkywlZ2rso=; b=wfzJuDZHx7+qMuG8fm1ZvsyElIPgk7OYPRHlhmuym8N0ll9ch4dxmp8J4swUzU9evm rrSojJKrVH27BcBOsYd9H0fD53viRzGaopRUdBYjC21CM7oHFLtG2KIKEyKC4xawFbnR b41leq64EtuAwSgJuP9CbUBGVn5/sPE8/XPUz/wvB1Pp5LOrrfMx7CqQFYvWMb+GV70l Zde437J82qC7m4uzkclv5mF3mME7jAEveMLQBj9ucOLyd3qO2I0LpWoulwwacRaq/WCR sDMI4vrZsnygLgRWUZ/5RLWaTiARQRM8hEKPqY0PkqXHGGhtObYqnuy/qtHpTNYduKya Nwcw== X-Gm-Message-State: AOJu0YzWYyznJbAA+3Rb030XZd6WexST78tcr8Y5XP6ahZa4LCFjp3SK lXqoFkqCibJn3j6kIN7ySFdqboY2kiBZfl+p/bZ0eFTY+wyj8r7wUNWnGEDcczbvAw== X-Google-Smtp-Source: AGHT+IHhawwxOsxtmPhHG4fMPWcRrjlaBHODlxtYP/2ta9W6seOefx+GSuxBPHgrWrFwdhXxBQDaPg== X-Received: by 2002:a05:600c:3b19:b0:423:791:f446 with SMTP id 5b1f17b1804b1-42811d73675mr87682655e9.7.1722427472009; Wed, 31 Jul 2024 05:04:32 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:ce:f2f0:3a7c:76ff:fe01:6f05]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4282bac614esm18467015e9.24.2024.07.31.05.04.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jul 2024 05:04:31 -0700 (PDT) From: " =?utf-8?q?Ga=C3=ABl_PORTAY?= " X-Google-Original-From: =?utf-8?q?Ga=C3=ABl_PORTAY?= To: buildroot@buildroot.org Date: Wed, 31 Jul 2024 14:04:25 +0200 Message-ID: <20240731120426.307069-2-gael.portay@rtone.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240731120426.307069-1-gael.portay@rtone.fr> References: <20240731120426.307069-1-gael.portay@rtone.fr> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722427472; x=1723032272; darn=buildroot.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=jgAS+p+KPFpSEv9GCii4qukmB8NDni+bJVkywlZ2rso=; b=nHyWsOhn760pTQA+8Evu4cxlsd5LOsWeucUJjRjaNjuxC9V3Vx2QzSw4R9BK6LW3Vs tfO6D8YQJkbU2G/2ZZWonWWQ4dsm3XvMHkzt2g7qlLZxES23J46v1otQdYTDSvzHC0N2 xTn5ViHnMO7+iw2baSXQ1ak/EjAbOBxcBpXpOWkXDZ+B4VO+3D9OI09xHBus86EnDL84 bAUH6osM1c7593QiBmS2+udFG6xQgImysHnzJNC5oeEDmFF1JVLP+ZQc5Y8eGdDOmbQs Yznj5VUYQeavI4B47kFykdZqPbCMrYaTuryepaZBabK0m2BIodg2ueun4q4Wx2yOiAeZ g9Bg== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=nHyWsOhn Subject: [Buildroot] [PATCH v3 1/2] package/rpi-utils: new package X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Ga=C3=ABl_PORTAY?= , Samuel Martin , Mahyar Koshkouei , Thomas Petazzoni Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" The package rpi-userland has been marked as ancient and deprecated[1]. The useful tools (dtoverlay, dtmerge, vcmailbox, vcgencmd) were moved to the repository rpi-utils since then. This adds the new package rpi-utils at latest commit as there is no tagged commit. [1]: https://github.com/raspberrypi/userland/commit/96a7334ae9d5fc9db7ac92e59852377df63f1848 Signed-off-by: Gaël PORTAY --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/rpi-utils/Config.in | 12 ++++++++++++ package/rpi-utils/rpi-utils.hash | 3 +++ package/rpi-utils/rpi-utils.mk | 18 ++++++++++++++++++ 5 files changed, 37 insertions(+) create mode 100644 package/rpi-utils/Config.in create mode 100644 package/rpi-utils/rpi-utils.hash create mode 100644 package/rpi-utils/rpi-utils.mk diff --git a/DEVELOPERS b/DEVELOPERS index 9a8c92f122..9905931744 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1205,6 +1205,9 @@ N: Frank Vanbever F: package/libmodsecurity/ F: package/nginx-modsecurity/ +N: Gaël PORTAY +F: package/rpi-utils/ + N: Gao Xiang F: package/erofs-utils/ diff --git a/package/Config.in b/package/Config.in index 90f1ecc877..1d9c04259c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -457,6 +457,7 @@ menu "Firmware" source "package/qoriq-fm-ucode/Config.in" source "package/rcw-smarc-sal28/Config.in" source "package/rpi-firmware/Config.in" + source "package/rpi-utils/Config.in" source "package/sunxi-boards/Config.in" source "package/ts4900-fpga/Config.in" source "package/ux500-firmware/Config.in" diff --git a/package/rpi-utils/Config.in b/package/rpi-utils/Config.in new file mode 100644 index 0000000000..a2729167aa --- /dev/null +++ b/package/rpi-utils/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_RPI_UTILS + bool "rpi-utils" + depends on !BR2_STATIC_LIBS # dtc + select BR2_PACKAGE_DTC + help + A collection of scripts and simple applications for the + Raspberry Pi. + + https://github.com/raspberrypi/utils/ + +comment "rpi-utils needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/package/rpi-utils/rpi-utils.hash b/package/rpi-utils/rpi-utils.hash new file mode 100644 index 0000000000..a6612373b0 --- /dev/null +++ b/package/rpi-utils/rpi-utils.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 c35932e501b43e5fb48cfc488aadc4a8bbceb0e9e6dafdf6c7cd2066b58acd61 rpi-utils-a1d522f0f1b50858a44fac80523a2bd80098e789.tar.gz +sha256 731da956431d1a7c5073e7ee5ebe01f54e359c5339310b32f0893c6fe6507d5a LICENCE diff --git a/package/rpi-utils/rpi-utils.mk b/package/rpi-utils/rpi-utils.mk new file mode 100644 index 0000000000..49db3aef9f --- /dev/null +++ b/package/rpi-utils/rpi-utils.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# rpi-utils +# +################################################################################ + +RPI_UTILS_VERSION = a1d522f0f1b50858a44fac80523a2bd80098e789 +RPI_UTILS_SITE = $(call github,raspberrypi,utils,$(RPI_UTILS_VERSION)) +RPI_UTILS_LICENSE = BSD-3-Clause +RPI_UTILS_LICENSE_FILES = LICENCE +RPI_UTILS_INSTALL_STAGING = YES +RPI_UTILS_DEPENDENCIES = dtc + +# Ensure the internal dtovl remains an archive object and it is not built as a +# dynamic library that is linked by other utilities; as it is not installed. +RPI_UTILS_CONF_OPTS = -DSTATIC=STATIC + +$(eval $(cmake-package))