1 ################################################################################
5 ################################################################################
7 GUMMIBOOT_SITE
= http
://cgit.freedesktop.org
/gummiboot
8 GUMMIBOOT_SITE_METHOD
= git
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
20 GUMMIBOOT_IMGARCH
= ia32
21 else ifeq ($(BR2_x86_64
),y
)
22 GUMMIBOOT_IMGARCH
= x64
25 GUMMIBOOT_CONF_OPTS
= \
27 --with-efi-libdir
=$(STAGING_DIR
)/usr
/lib \
28 --with-efi-ldsdir
=$(STAGING_DIR
)/usr
/lib \
29 --with-efi-includedir
=$(STAGING_DIR
)/usr
/include \
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
43 $(eval
$(autotools-package
))