summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Liu <lei.liu2@windriver.com>2013-11-21 13:30:48 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-22 14:04:25 +0000
commitb0da7ccde5380726acfccf1a96cdf5560edf9159 (patch)
tree6eba256e9076d80c294c8e8ca1be25327af569e1
parentcac08f23aaed87148d1825cca3c7586ab891ef04 (diff)
downloadopenembedded-core-b0da7ccde5380726acfccf1a96cdf5560edf9159.tar.gz
openembedded-core-b0da7ccde5380726acfccf1a96cdf5560edf9159.tar.bz2
openembedded-core-b0da7ccde5380726acfccf1a96cdf5560edf9159.zip
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@windriver.com> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/syslinux/syslinux_6.01.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/syslinux/syslinux_6.01.bb b/meta/recipes-devtools/syslinux/syslinux_6.01.bb
index 4438ea8330..538be56b93 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/