external-sourcery-toolchain: forgot to rstrip the trailing newline

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
Christopher Larson
2012-11-02 14:56:03 -07:00
parent ed1df75f15
commit bc7dad4849

View File

@@ -81,7 +81,7 @@ do_install() {
def sysroot_multilib_suffix(d):
PATH = d.getVar('PATH', True)
cmd = '${CC} -print-sysroot | sed -e "s,^${STAGING_DIR_HOST},,; s,^/,,"'
return oe.path.check_output(bb.data.expand(cmd, d), shell=True, env={'PATH': PATH})
return oe.path.check_output(bb.data.expand(cmd, d), shell=True, env={'PATH': PATH}).rstrip()
FILES_${PN}-dev += "/${@sysroot_multilib_suffix(d)}"