python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / gnu-efi / gnu-efi.mk
bloba11ff819cafa1ffc7d53efb4e536fd5425066d99
1 ################################################################################
3 # gnu-efi
5 ################################################################################
7 GNU_EFI_VERSION = 3.0.1
8 GNU_EFI_SOURCE = gnu-efi-$(GNU_EFI_VERSION).tar.bz2
9 GNU_EFI_SITE = http://downloads.sourceforge.net/project/gnu-efi
10 GNU_EFI_INSTALL_STAGING = YES
11 GNU_EFI_LICENSE = BSD-3c and/or GPLv2+ (gnuefi), BSD-3c (efilib)
12 GNU_EFI_LICENSE_FILES = README.efilib
14 # gnu-efi is a set of library and header files used to build
15 # standalone EFI applications such as bootloaders. There is no point
16 # in installing these libraries to the target.
17 GNU_EFI_INSTALL_TARGET = NO
19 ifeq ($(BR2_i386),y)
20 GNU_EFI_PLATFORM = ia32
21 else ifeq ($(BR2_x86_64),y)
22 GNU_EFI_PLATFORM = x86_64
23 endif
25 define GNU_EFI_BUILD_CMDS
26 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
27 $(TARGET_CONFIGURE_OPTS) \
28 ARCH=$(GNU_EFI_PLATFORM)
29 endef
31 define GNU_EFI_INSTALL_STAGING_CMDS
32 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
33 $(TARGET_CONFIGURE_OPTS) \
34 INSTALLROOT=$(STAGING_DIR) \
35 PREFIX=/usr ARCH=$(GNU_EFI_PLATFORM) install
36 endef
38 $(eval $(generic-package))