55c524d46f
- Use the tarball provided by upstream developers instead of the one generated by Github. Indeed https://github.com/rhboot/shim/releases/tag/15.4 indicates "As usual, please use the shim-15.4.tar.bz2 tarball, rather than the other two archives github automatically produces." - The tarball now includes the gnu-efi code, so we no longer need to select gnu-efi and have it as a build dependency. We continue to use BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS as we still only build for those architectures that have gnu-efi support. We also drop the EFI_INCLUDE, EFI_PATH and LIBDIR variables, as gnu-efi no longer needs to be searched in STAGING_DIR. - Drop all four patches, which were backports from upstream. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
30 lines
774 B
Makefile
30 lines
774 B
Makefile
################################################################################
|
|
#
|
|
# shim
|
|
#
|
|
################################################################################
|
|
|
|
SHIM_VERSION = 15.4
|
|
SHIM_SITE = https://github.com/rhboot/shim/releases/download/$(SHIM_VERSION)
|
|
SHIM_SOURCE = shim-$(SHIM_VERSION).tar.bz2
|
|
SHIM_LICENSE = BSD-2-Clause
|
|
SHIM_LICENSE_FILES = COPYRIGHT
|
|
SHIM_CPE_ID_VENDOR = redhat
|
|
SHIM_INSTALL_TARGET = NO
|
|
SHIM_INSTALL_IMAGES = YES
|
|
|
|
SHIM_MAKE_OPTS = \
|
|
ARCH="$(GNU_EFI_PLATFORM)" \
|
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
|
DASHJ="-j$(PARALLEL_JOBS)"
|
|
|
|
define SHIM_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(SHIM_MAKE_OPTS)
|
|
endef
|
|
|
|
define SHIM_INSTALL_IMAGES_CMDS
|
|
$(INSTALL) -m 0755 -t $(BINARIES_DIR) $(@D)/*.efi
|
|
endef
|
|
|
|
$(eval $(generic-package))
|