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 smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (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 F284EEF99D2 for ; Fri, 13 Feb 2026 19:35:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id BBE298457C; Fri, 13 Feb 2026 19:35:51 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id DsZz9fa3Kgqa; Fri, 13 Feb 2026 19:35:51 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org A73A88456C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org; s=default; t=1771011350; bh=SrV1nR0RW5qmVBt0fK/68W28+F4Fdi4u8lOXpnZItF8=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=p7SDtL4vXrXFxLWKTSdwYTgtbREQYmEE91aKoqyA7oO91N27+7t045d7ysvv3g/Up lUg2REbsecmjRDHjezCTworWKY5RDx+s9YS3/xjYIxonBvISoSaedwqkATf7qF66wv 3nJhkb4jMrhMLAUvZrk/cUNhBrLmVHCGDmdsOAboIcph+d9nwmVa5a5DfwpOXjSIwj xnzmsRKf7RqWCJEbFjwipiQxMFFyNqZEKHr2R/nkf4yL2NhJFyEnaksiXK8cllMT3W vOWqyH2m+DNDRJ/PnZ5cTeCHH0DIOegEX5s3osjWuNuJ5SFjo31+kR59GihmGu+my2 6TugNNZfvpsBQ== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id A73A88456C; Fri, 13 Feb 2026 19:35:50 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists1.osuosl.org (Postfix) with ESMTP id 0FBA369 for ; Fri, 13 Feb 2026 19:35:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id C075E40C14 for ; Fri, 13 Feb 2026 19:35:28 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id O-uuPLWakppF for ; Fri, 13 Feb 2026 19:35:27 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.167.122; helo=busybox.osuosl.org; envelope-from=buildroot-git-push@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org F2E6F41E29 Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.122]) by smtp4.osuosl.org (Postfix) with ESMTP id F2E6F41E29 for ; Fri, 13 Feb 2026 19:35:26 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 4053) id E7DF281EB5; Fri, 13 Feb 2026 19:35:26 +0000 (UTC) To: buildroot@buildroot.org Date: Thu, 12 Feb 2026 14:27:41 +0100 X-Git-Refname: refs/heads/2025.02.x X-Git-Oldrev: 46f8c7115ad2229b8f43835d951c1a8f0059e7b8 X-Git-Newrev: d9d7fa67d7d784d3d1bc31a625794ad3beaa42c0 X-Patchwork-Hint: ignore Message-Id: <20260213193526.E7DF281EB5@busybox.osuosl.org> Subject: [Buildroot] [git commit branch/2025.02.x] uboot: Add support for custom license files X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Thomas Perale via buildroot Reply-To: Thomas Perale MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" commit: https://gitlab.com/buildroot.org/buildroot/-/commit/d9d7fa67d7d784d3d1bc31a625794ad3beaa42c0 branch: https://gitlab.com/buildroot.org/buildroot/-/tree/2025.02.x The U-Boot package was not providing any license file when a custom Linux version was selected. Fix this by adding a Kconfig option to specify the license file, with a default value set to the commonly used license paths. Signed-off-by: Kory Maincent [Arnout: use a single Kconfig option with conditional prompt] Signed-off-by: Arnout Vandecappelle (cherry picked from commit a4d5b20462602aa89a7e6a5587cb187f71e31d5e) Signed-off-by: Thomas Perale --- boot/uboot/Config.in | 8 ++++++++ boot/uboot/uboot.mk | 4 +--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in index 10098ed227..e96753259e 100644 --- a/boot/uboot/Config.in +++ b/boot/uboot/Config.in @@ -92,6 +92,14 @@ config BR2_TARGET_UBOOT_VERSION default BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION \ if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG || BR2_TARGET_UBOOT_CUSTOM_SVN +config BR2_TARGET_UBOOT_LICENSE_FILES + string "U-boot license files" if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG || \ + BR2_TARGET_UBOOT_CUSTOM_SVN || BR2_TARGET_UBOOT_CUSTOM_TARBALL + default "Licenses/gpl-2.0.txt" + help + A space-separated list of license files related to U-Boot + package. + config BR2_TARGET_UBOOT_PATCH string "Custom U-Boot patches" default BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR if BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR != "" # legacy diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index 0d77340f85..443eb594b2 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -8,9 +8,7 @@ UBOOT_VERSION = $(call qstrip,$(BR2_TARGET_UBOOT_VERSION)) UBOOT_BOARD_NAME = $(call qstrip,$(BR2_TARGET_UBOOT_BOARDNAME)) UBOOT_LICENSE = GPL-2.0+ -ifeq ($(BR2_TARGET_UBOOT_LATEST_VERSION),y) -UBOOT_LICENSE_FILES = Licenses/gpl-2.0.txt -endif +UBOOT_LICENSE_FILES = $(call qstrip,$(BR2_TARGET_UBOOT_LICENSE_FILES)) UBOOT_CPE_ID_VENDOR = denx UBOOT_CPE_ID_PRODUCT = u-boot _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot