From 7ed738bf5d3cb7a3184a2c4e4ac61258fbe6d012 Mon Sep 17 00:00:00 2001 From: "Fiona Klute (othermo GmbH)" Date: Wed, 23 Sep 2026 20:24:03 +0200 Subject: [PATCH] package/gnu-efi: fix license information Split the confusing "and/or" for gnulib, so dual-licensed and GPL-only parts are clearly noted, and add the missing LGPL license. Lines in GNU_EFI_LICENSE are ordered the same way as the information is given in the LICENSE file. The license situation of inc/subst/elf.h is curious: The file itself is licensed under LGPL-2.1-or-later, and used in gnu-efi under LGPL-3.0-or-later (accompanied by the appropriate license files), which in turn allows using it for object code under different terms with certain conditions (see section 3 of LGPL 3.0, as noted in the gnu-efi LICENSE file). Signed-off-by: Fiona Klute (othermo GmbH) Signed-off-by: Thomas Petazzoni --- package/gnu-efi/gnu-efi.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/gnu-efi/gnu-efi.mk b/package/gnu-efi/gnu-efi.mk index f615df91bc..f979b65c31 100644 --- a/package/gnu-efi/gnu-efi.mk +++ b/package/gnu-efi/gnu-efi.mk @@ -9,8 +9,10 @@ GNU_EFI_SITE = $(call github,ncroxon,gnu-efi,$(GNU_EFI_VERSION)) GNU_EFI_INSTALL_STAGING = YES GNU_EFI_LICENSE = \ - BSD-3-Clause and/or GPL-2.0+ (gnuefi), \ + BSD-3-Clause or GPL-2.0+ (gnuefi), \ BSD-3-Clause (efilib), \ + LGPL-3.0-or-later (inc/subst/elf.h), \ + GPL-2.0+ (tests, some IDE & CI files), \ BSD-2-Clause-Patent (EDK2 routines) GNU_EFI_LICENSE_FILES = \ LICENSE \