summaryrefslogtreecommitdiff
path: root/payloads/external
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2018-06-04 11:42:39 +0200
committerNico Huber <nico.h@gmx.de>2018-06-21 14:57:13 +0000
commitbb10ec3d414a4eb7cad652254b6e6bb33b211b53 (patch)
tree3ecb6a704cb16fe12434a02c06ffb6fedf0cc6ed /payloads/external
parent28cdd4c8d36c49cbe9b171a2af6077fa8a253498 (diff)
downloadcoreboot-bb10ec3d414a4eb7cad652254b6e6bb33b211b53.tar.xz
payloads/external/GRUB2: Use pkg-config over freetype-config
`freetype-config` is gone and was obsolete for a long time. Change-Id: Id3058e55b1630f43225d3cd1ad91801c4085874f Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/26822 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'payloads/external')
-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