2016-04-21 03:23:56 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# efibootmgr
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-06-05 10:28:18 +02:00
|
|
|
EFIBOOTMGR_VERSION = 17
|
2018-03-22 13:51:53 +01:00
|
|
|
EFIBOOTMGR_SITE = $(call github,rhboot,efibootmgr,$(EFIBOOTMGR_VERSION))
|
2017-03-30 15:43:32 +02:00
|
|
|
EFIBOOTMGR_LICENSE = GPL-2.0+
|
2016-04-21 03:23:56 +02:00
|
|
|
EFIBOOTMGR_LICENSE_FILES = COPYING
|
2018-03-23 10:57:40 +01:00
|
|
|
EFIBOOTMGR_DEPENDENCIES = host-pkgconf efivar popt $(TARGET_NLS_DEPENDENCIES)
|
2017-07-03 22:45:53 +02:00
|
|
|
EFIBOOTMGR_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
2018-03-22 13:51:53 +01:00
|
|
|
EFIBOOTMGR_MAKE_ARGS = EFIDIR=buildroot
|
2016-04-21 03:23:56 +02:00
|
|
|
|
|
|
|
define EFIBOOTMGR_BUILD_CMDS
|
2017-04-21 17:24:48 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
|
2018-03-22 13:51:53 +01:00
|
|
|
LDFLAGS="$(EFIBOOTMGR_LDFLAGS)" $(MAKE1) -C $(@D) \
|
|
|
|
$(EFIBOOTMGR_MAKE_ARGS)
|
2016-04-21 03:23:56 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define EFIBOOTMGR_INSTALL_TARGET_CMDS
|
2017-04-21 17:24:48 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
2018-03-22 13:51:53 +01:00
|
|
|
$(EFIBOOTMGR_MAKE_ARGS) DESTDIR=$(TARGET_DIR) install
|
2016-04-21 03:23:56 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|