mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-02 05:33:57 -09:00
https://github.com/ncroxon/gnu-efi/releases/tag/4.0.1 https://github.com/ncroxon/gnu-efi/releases/tag/4.0.2 https://github.com/ncroxon/gnu-efi/releases/tag/4.0.3 https://github.com/ncroxon/gnu-efi/releases/tag/4.0.4 Removed patch due to upstream commitf3ececb9ebwhich contains a different fix. Added patch to fix build errors with syslinux: build/syslinux-6.03/com32/lib/exit.c:57:(.text+0x19): undefined reference to `longjmp' build/syslinux-6.03/com32/lib/sys/module/exec.c:206:(.text+0xdc): undefined reference to `setjmp' LICENSE was clarified and new license files were added in:71d5d1746blicenses/LICENSE.efilib was updated in:71b05279b1This commit reflects those changes by updating _LICENSE_FILES and adding the new license hashes. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
################################################################################
|
|
#
|
|
# gnu-efi
|
|
#
|
|
################################################################################
|
|
|
|
GNU_EFI_VERSION = 4.0.4
|
|
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 (efilib), \
|
|
BSD-2-Clause-Patent (EDK2 routines)
|
|
GNU_EFI_LICENSE_FILES = \
|
|
LICENSE \
|
|
licenses/LICENSE.BSD-3-Clause \
|
|
licenses/LICENSE.edk2 \
|
|
licenses/LICENSE.efilib \
|
|
licenses/LICENSE.GPL-2.0-or-later \
|
|
licenses/LICENSE.GPL-3.0-or-later \
|
|
licenses/LICENSE.LGPL-3.0-or-later
|
|
|
|
# gnu-efi is a set of library and header files used to build
|
|
# standalone EFI applications such as bootloaders. There is no point
|
|
# in installing these libraries to the target.
|
|
GNU_EFI_INSTALL_TARGET = NO
|
|
|
|
ifeq ($(BR2_i386),y)
|
|
GNU_EFI_PLATFORM = ia32
|
|
else ifeq ($(BR2_x86_64),y)
|
|
GNU_EFI_PLATFORM = x86_64
|
|
else ifeq ($(BR2_arm)$(BR2_armeb),y)
|
|
GNU_EFI_PLATFORM = arm
|
|
else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y)
|
|
GNU_EFI_PLATFORM = aarch64
|
|
else ifeq ($(BR2_RISCV_64),y)
|
|
GNU_EFI_PLATFORM = riscv64
|
|
endif
|
|
|
|
GNU_EFI_MAKE_OPTS = \
|
|
ARCH=$(GNU_EFI_PLATFORM) \
|
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
|
PREFIX=/usr
|
|
|
|
define GNU_EFI_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(GNU_EFI_MAKE_OPTS)
|
|
endef
|
|
|
|
define GNU_EFI_INSTALL_STAGING_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(GNU_EFI_MAKE_OPTS) \
|
|
INSTALLROOT=$(STAGING_DIR) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|