summaryrefslogtreecommitdiff
path: root/payloads/external/GRUB2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/external/GRUB2/Makefile')
-rw-r--r--payloads/external/GRUB2/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/external/GRUB2/Makefile b/payloads/external/GRUB2/Makefile
index db15d4676e..31c40665fe 100644
--- a/payloads/external/GRUB2/Makefile
+++ b/payloads/external/GRUB2/Makefile
@@ -30,6 +30,7 @@ grub2/build/config.h: $(CONFIG_DEP) | checkout
mkdir grub2/build
cd grub2 && ./autogen.sh
cd grub2/build && ../configure CC="$(HOSTCC)" LD="$(LD)" \
+ FREETYPE="pkg-config freetype2" BUILD_FREETYPE="pkg-config freetype2" \
TARGET_CC="$(CC)" TARGET_OBJCOPY="$(OBJCOPY)" TARGET_STRIP="$(STRIP)" \
CFLAGS=-O2 TARGET_CFLAGS=-Os \
--with-platform=coreboot --enable-boot-time --disable-werror