revert between 56095 -> 55830 in arch
[AROS.git] / arch / all-pc / boot / grub2-aros / mmakefile.src
bloba446d71177935a89cdd89f1cab81f8e564cc1141
1 # Copyright © 2004-2018, The AROS Development Team. All rights reserved.
2 # $Id$
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)
11     GRUB_ARCH := efi
12 else
13     GRUB_ARCH := pc
14 endif
16 GRUB2PACKAGE    := grub
17 GRUB2DESTDIR    := $(AROS_CONTRIB)/GNU
18 GRUB2REPOS      := ftp://ftp.gnu.org/gnu/grub
20 CONFIG_OPTS := \
21                 --with-platform=$(GRUB_ARCH) \
22                 --datarootdir=$(GRUB2DESTDIR)/share \
23                 --sysconfdir=$(GRUB2DESTDIR)/etc        \
24                 --disable-grub-mkfont \
25                 --disable-werror \
26                 --program-prefix=
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=