mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 14:03:29 +08:00
30a3e8d108
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2.1/LGPLv2.1+ is LGPL-2.1/LGPL-2.1+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2.1(\+)?/LGPL-2.1\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# gummiboot
|
|
#
|
|
################################################################################
|
|
|
|
GUMMIBOOT_SITE = http://cgit.freedesktop.org/gummiboot
|
|
GUMMIBOOT_SITE_METHOD = git
|
|
GUMMIBOOT_VERSION = 43
|
|
GUMMIBOOT_LICENSE = LGPL-2.1+
|
|
GUMMIBOOT_LICENSE_FILES = LICENSE
|
|
|
|
# The git archive does not have the autoconf/automake stuff generated.
|
|
GUMMIBOOT_AUTORECONF = YES
|
|
GUMMIBOOT_DEPENDENCIES = gnu-efi host-pkgconf util-linux
|
|
GUMMIBOOT_INSTALL_TARGET = NO
|
|
GUMMIBOOT_INSTALL_IMAGES = YES
|
|
|
|
ifeq ($(BR2_i386),y)
|
|
GUMMIBOOT_IMGARCH = ia32
|
|
else ifeq ($(BR2_x86_64),y)
|
|
GUMMIBOOT_IMGARCH = x64
|
|
endif
|
|
|
|
GUMMIBOOT_CONF_OPTS = \
|
|
--host=$(BR2_ARCH) \
|
|
--with-efi-libdir=$(STAGING_DIR)/usr/lib \
|
|
--with-efi-ldsdir=$(STAGING_DIR)/usr/lib \
|
|
--with-efi-includedir=$(STAGING_DIR)/usr/include \
|
|
--disable-manpages
|
|
|
|
define GUMMIBOOT_INSTALL_IMAGES_CMDS
|
|
$(INSTALL) -D -m 0644 $(@D)/gummiboot$(GUMMIBOOT_IMGARCH).efi \
|
|
$(BINARIES_DIR)/efi-part/EFI/BOOT/boot$(GUMMIBOOT_IMGARCH).efi
|
|
echo "boot$(GUMMIBOOT_IMGARCH).efi" > \
|
|
$(BINARIES_DIR)/efi-part/startup.nsh
|
|
$(INSTALL) -D -m 0644 boot/gummiboot/loader.conf \
|
|
$(BINARIES_DIR)/efi-part/loader/loader.conf
|
|
$(INSTALL) -D -m 0644 boot/gummiboot/buildroot.conf \
|
|
$(BINARIES_DIR)/efi-part/loader/entries/buildroot.conf
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|