python: fix disabling the SSL module
[buildroot-gz.git] / package / efibootmgr / efibootmgr.mk
blob487c8ca6665701d768f09b2bc47f477acda8e817
1 ################################################################################
3 # efibootmgr
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
16 endef
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)
23 endef
25 define EFIBOOTMGR_INSTALL_TARGET_CMDS
26 $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
27 DESTDIR=$(TARGET_DIR) install
28 endef
30 $(eval $(generic-package))