2016-04-21 03:23:56 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# efibootmgr
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-09-30 16:46:44 +02:00
|
|
|
EFIBOOTMGR_VERSION = 14
|
2016-04-21 03:23:56 +02:00
|
|
|
EFIBOOTMGR_SITE = $(call github,rhinstaller,efibootmgr,$(EFIBOOTMGR_VERSION))
|
|
|
|
EFIBOOTMGR_LICENSE = GPLv2+
|
|
|
|
EFIBOOTMGR_LICENSE_FILES = COPYING
|
|
|
|
EFIBOOTMGR_DEPENDENCIES = efivar
|
|
|
|
|
|
|
|
define EFIBOOTMSR_PATCH_HEADER_PATH
|
|
|
|
$(SED) 's,-I/,-I$(STAGING_DIR)/,' $(@D)/Makefile
|
|
|
|
endef
|
|
|
|
|
|
|
|
EFIBOOTMGR_POST_PATCH_HOOKS += EFIBOOTMSR_PATCH_HEADER_PATH
|
|
|
|
|
|
|
|
define EFIBOOTMGR_BUILD_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define EFIBOOTMGR_INSTALL_TARGET_CMDS
|
2016-09-30 16:46:44 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
|
|
DESTDIR=$(TARGET_DIR) install
|
2016-04-21 03:23:56 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|