From 6b8bf2e274838397c8a8e2dfe42fc7afb688612b Mon Sep 17 00:00:00 2001 From: Lei Liu Date: Thu, 21 Nov 2013 13:30:48 -0600 Subject: [PATCH] syslinux: use cross toolchain to compile syslinux is compling something with host gcc at do_install stage, which leads to some unexpected errors with old gcc on host. Using our cross toolchain instead. (From OE-Core rev: b0da7ccde5380726acfccf1a96cdf5560edf9159) Signed-off-by: Lei Liu Signed-off-by: Randy MacLeod Signed-off-by: Richard Purdie --- meta/recipes-devtools/syslinux/syslinux_6.01.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/syslinux/syslinux_6.01.bb b/meta/recipes-devtools/syslinux/syslinux_6.01.bb index 4438ea8..538be56 100644 --- a/meta/recipes-devtools/syslinux/syslinux_6.01.bb +++ b/meta/recipes-devtools/syslinux/syslinux_6.01.bb @@ -44,7 +44,7 @@ do_compile() { } do_install() { - oe_runmake install INSTALLROOT="${D}" firmware="bios" + oe_runmake CC="${CC} ${CFLAGS}" install INSTALLROOT="${D}" firmware="bios" install -d ${D}${datadir}/syslinux/ install -m 644 ${S}/bios/core/ldlinux.sys ${D}${datadir}/syslinux/ -- 2.7.4