2171d07315
This commit switches to use the new gettext logic, which involves: - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on gettext/host-gettext - using TARGET_NLS_LIBS to force linking against libintl - dropping BR2_PACKAGE_GETTEXT selection The BR2_USE_WCHAR dependency was needed for gettext, now that we no longer need gettext, we can also get rid of this dependency. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
31 lines
923 B
Makefile
31 lines
923 B
Makefile
################################################################################
|
|
#
|
|
# efibootmgr
|
|
#
|
|
################################################################################
|
|
|
|
EFIBOOTMGR_VERSION = 14
|
|
EFIBOOTMGR_SITE = $(call github,rhinstaller,efibootmgr,$(EFIBOOTMGR_VERSION))
|
|
EFIBOOTMGR_LICENSE = GPL-2.0+
|
|
EFIBOOTMGR_LICENSE_FILES = COPYING
|
|
EFIBOOTMGR_DEPENDENCIES = efivar $(TARGET_NLS_DEPENDENCIES)
|
|
EFIBOOTMGR_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
|
|
|
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) \
|
|
LDFLAGS="$(EFIBOOTMGR_LDFLAGS)" $(MAKE1) -C $(@D)
|
|
endef
|
|
|
|
define EFIBOOTMGR_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
DESTDIR=$(TARGET_DIR) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|