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>
This commit is contained in:
parent
28cdd4c8d3
commit
bb10ec3d41
|
@ -30,6 +30,7 @@ grub2/build/config.h: $(CONFIG_DEP) | checkout
|
||||||
mkdir grub2/build
|
mkdir grub2/build
|
||||||
cd grub2 && ./autogen.sh
|
cd grub2 && ./autogen.sh
|
||||||
cd grub2/build && ../configure CC="$(HOSTCC)" LD="$(LD)" \
|
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)" \
|
TARGET_CC="$(CC)" TARGET_OBJCOPY="$(OBJCOPY)" TARGET_STRIP="$(STRIP)" \
|
||||||
CFLAGS=-O2 TARGET_CFLAGS=-Os \
|
CFLAGS=-O2 TARGET_CFLAGS=-Os \
|
||||||
--with-platform=coreboot --enable-boot-time --disable-werror
|
--with-platform=coreboot --enable-boot-time --disable-werror
|
||||||
|
|
Loading…
Reference in New Issue