diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-02-12 22:33:31 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-23 12:29:12 -0800 |
commit | 42e4e36de37b8e06a2ff56172d04d3ffeccfbfae (patch) | |
tree | 36fd04e3dd3db320b350579a9b9bddf9ce5f5cae /meta/recipes-devtools/opkg-utils | |
parent | 7f6b4359e1f2d9d748d23305a2af73c0efba5928 (diff) | |
download | openembedded-core-42e4e36de37b8e06a2ff56172d04d3ffeccfbfae.tar.gz openembedded-core-42e4e36de37b8e06a2ff56172d04d3ffeccfbfae.tar.bz2 openembedded-core-42e4e36de37b8e06a2ff56172d04d3ffeccfbfae.zip |
binconfig.bbclass: fix get_binconfig_mangle()
The command was:
s += " -e 's:-L${libdir}:-LOELIBDIR:;'"
s += " -e 's:-I${includedir}:-IOEINCDIR:;'"
s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'"
s += " -e 's:OEINCDIR:${STAGING_INCDIR}:;'"
s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'"
s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'"
The STAGING_LIBDIR and STAGING_INCDIR now contains WORKDIR, so the
result would be incorrect like:
TCL_INCLUDE_SPEC='-IFIXMESTAGINGDIRTARGET/usr/include/recipe-sysroot/usr/include/tcl8.6'
Note, the "/usr/include/recipe-sysroot" is not needed. Move the last two
sed commands ahead will fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/opkg-utils')
0 files changed, 0 insertions, 0 deletions