grub2: do not generate mkfonts at build time

Even though these fonts may not be installed, they seem to be
generated at build time.

Seems that the configure script re-generated from configure.ac
is a bit more annoying than it has to be.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
Alexandru Ardelean 2016-11-21 17:36:56 +02:00 committed by Felix Fietkau
parent b33845b2da
commit 2b54fa4dff

View File

@ -51,6 +51,9 @@ endef
HOST_BUILD_PREFIX := $(STAGING_DIR_HOST) HOST_BUILD_PREFIX := $(STAGING_DIR_HOST)
CONFIGURE_VARS += \
grub_build_mkfont_excuse="don't want fonts"
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--target=$(REAL_GNU_TARGET_NAME) \ --target=$(REAL_GNU_TARGET_NAME) \
--disable-werror \ --disable-werror \
@ -59,7 +62,11 @@ CONFIGURE_ARGS += \
--disable-libzfs \ --disable-libzfs \
--disable-grub-mkfont --disable-grub-mkfont
HOST_CONFIGURE_VARS += \
grub_build_mkfont_excuse="don't want fonts"
HOST_CONFIGURE_ARGS += \ HOST_CONFIGURE_ARGS += \
--disable-grub-mkfont \
--target=$(REAL_GNU_TARGET_NAME) \ --target=$(REAL_GNU_TARGET_NAME) \
--sbindir="$(STAGING_DIR_HOST)/bin" \ --sbindir="$(STAGING_DIR_HOST)/bin" \
--disable-werror \ --disable-werror \