[oe-commits] Lei Liu : syslinux: use cross toolchain to compile

git at git.openembedded.org git at git.openembedded.org
Fri Nov 22 14:12:35 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: b0da7ccde5380726acfccf1a96cdf5560edf9159
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b0da7ccde5380726acfccf1a96cdf5560edf9159

Author: Lei Liu <lei.liu2 at windriver.com>
Date:   Thu Nov 21 13:30:48 2013 -0600

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.

Signed-off-by: Lei Liu <lei.liu2 at windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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/



More information about the Openembedded-commits mailing list