diff options
author | Lei Liu <lei.liu2@windriver.com> | 2013-11-21 13:30:48 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-24 12:25:33 +0000 |
commit | 62c50eed1afa3c40c6823b0b2a917d5d1309f574 (patch) | |
tree | 831f22092afaa7f5970c316e35721d3e03f2273b /meta/recipes-devtools/syslinux | |
parent | e9802e3f045f740d9ddde936160e3b5e4cf98a62 (diff) | |
download | poky-62c50eed1afa3c40c6823b0b2a917d5d1309f574.tar.gz |
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 <lei.liu2@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/syslinux')
-rw-r--r-- | meta/recipes-devtools/syslinux/syslinux_6.01.bb | 2 |
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() { | |||
44 | } | 44 | } |
45 | 45 | ||
46 | do_install() { | 46 | do_install() { |
47 | oe_runmake install INSTALLROOT="${D}" firmware="bios" | 47 | oe_runmake CC="${CC} ${CFLAGS}" install INSTALLROOT="${D}" firmware="bios" |
48 | 48 | ||
49 | install -d ${D}${datadir}/syslinux/ | 49 | install -d ${D}${datadir}/syslinux/ |
50 | install -m 644 ${S}/bios/core/ldlinux.sys ${D}${datadir}/syslinux/ | 50 | install -m 644 ${S}/bios/core/ldlinux.sys ${D}${datadir}/syslinux/ |