af31c309e7
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
31 lines
948 B
Makefile
31 lines
948 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 $(if $(BR2_NEEDS_GETTEXT),gettext)
|
|
EFIBOOTMGR_LDFLAGS = $(TARGET_LDFLAGS) $(if $(BR2_NEEDS_GETTEXT),-lintl)
|
|
|
|
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))
|