1 # Copyright © 2004-2018, The AROS Development Team. All rights reserved.
3 # just for building the grub2 utils
4 # in provision to use grub-mkimage in InstallAROS
6 include $(SRCDIR)/config/aros.cfg
8 #MM- arch-common-grub2 : grub2-aros-quick
10 ifeq ($(AROS_TARGET_VARIANT),efi)
17 GRUB2DESTDIR := $(AROS_CONTRIB)/GNU
18 GRUB2REPOS := ftp://ftp.gnu.org/gnu/grub
21 --with-platform=$(GRUB_ARCH) \
22 --datarootdir=$(GRUB2DESTDIR)/share \
23 --sysconfdir=$(GRUB2DESTDIR)/etc \
24 --disable-grub-mkfont \
28 %fetch_and_build mmake=grub2-aros \
29 package=$(GRUB2PACKAGE) version=$(GRUB2_VERSION) suffixes="tar.gz" package_repo=$(GRUB2REPOS) \
30 prefix="$(GRUB2DESTDIR)" patch=yes aros_prefix="/GNU" nix=no gnuflags=no xflag=no \
31 extraoptions="$(CONFIG_OPTS)" targetisaflags=