1 ################################################################################
5 ################################################################################
7 EFIBOOTMGR_VERSION
= 14
8 EFIBOOTMGR_SITE
= $(call github
,rhinstaller
,efibootmgr
,$(EFIBOOTMGR_VERSION
))
9 EFIBOOTMGR_LICENSE
= GPLv2
+
10 EFIBOOTMGR_LICENSE_FILES
= COPYING
11 EFIBOOTMGR_DEPENDENCIES
= efivar
$(if
$(BR2_NEEDS_GETTEXT
),gettext
)
12 EFIBOOTMGR_LDFLAGS
= $(TARGET_LDFLAGS
) $(if
$(BR2_NEEDS_GETTEXT
),-lintl
)
14 define EFIBOOTMSR_PATCH_HEADER_PATH
15 $(SED
) 's,-I/,-I$(STAGING_DIR)/,' $(@D
)/Makefile
18 EFIBOOTMGR_POST_PATCH_HOOKS
+= EFIBOOTMSR_PATCH_HEADER_PATH
20 define EFIBOOTMGR_BUILD_CMDS
21 $(TARGET_MAKE_ENV
) $(TARGET_CONFIGURE_OPTS
) \
22 LDFLAGS
="$(EFIBOOTMGR_LDFLAGS)" $(MAKE1
) -C
$(@D
)
25 define EFIBOOTMGR_INSTALL_TARGET_CMDS
26 $(TARGET_MAKE_ENV
) $(TARGET_CONFIGURE_OPTS
) $(MAKE
) -C
$(@D
) \
27 DESTDIR
=$(TARGET_DIR
) install
30 $(eval
$(generic-package
))