logrotate: enable selinux support
[buildroot-gz.git] / boot / gummiboot / gummiboot.mk
blob02ad28b40bc9549edf3ea49e3be8fe324bb3cc66
1 ################################################################################
3 # gummiboot
5 ################################################################################
7 GUMMIBOOT_SITE = http://cgit.freedesktop.org/gummiboot
8 GUMMIBOOT_SITE_METHOD = git
9 GUMMIBOOT_VERSION = 43
10 GUMMIBOOT_LICENSE = LGPLv2.1+
11 GUMMIBOOT_LICENSE_FILES = LICENSE
13 # The git archive does not have the autoconf/automake stuff generated.
14 GUMMIBOOT_AUTORECONF = YES
15 GUMMIBOOT_DEPENDENCIES = gnu-efi host-pkgconf util-linux
16 GUMMIBOOT_INSTALL_TARGET = NO
17 GUMMIBOOT_INSTALL_IMAGES = YES
19 ifeq ($(BR2_i386),y)
20 GUMMIBOOT_IMGARCH = ia32
21 else ifeq ($(BR2_x86_64),y)
22 GUMMIBOOT_IMGARCH = x64
23 endif
25 GUMMIBOOT_CONF_OPTS = \
26 --host=$(BR2_ARCH) \
27 --with-efi-libdir=$(STAGING_DIR)/usr/lib \
28 --with-efi-ldsdir=$(STAGING_DIR)/usr/lib \
29 --with-efi-includedir=$(STAGING_DIR)/usr/include \
30 --disable-manpages
32 define GUMMIBOOT_INSTALL_IMAGES_CMDS
33 $(INSTALL) -D -m 0644 $(@D)/gummiboot$(GUMMIBOOT_IMGARCH).efi \
34 $(BINARIES_DIR)/efi-part/EFI/BOOT/boot$(GUMMIBOOT_IMGARCH).efi
35 echo "boot$(GUMMIBOOT_IMGARCH).efi" > \
36 $(BINARIES_DIR)/efi-part/startup.nsh
37 $(INSTALL) -D -m 0644 boot/gummiboot/loader.conf \
38 $(BINARIES_DIR)/efi-part/loader/loader.conf
39 $(INSTALL) -D -m 0644 boot/gummiboot/buildroot.conf \
40 $(BINARIES_DIR)/efi-part/loader/entries/buildroot.conf
41 endef
43 $(eval $(autotools-package))