hc
2024-08-14 d5ef2fdafdb09de9c2f876fc0edf2ba6bf224909
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
################################################################################
#
# 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))