diff options
author | Dexuan Cui <dexuan.cui@intel.com> | 2011-11-16 17:49:44 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-24 23:33:21 +0000 |
commit | 58fb9fbce2af05a469691390e75aebb2de16ca96 (patch) | |
tree | 231f7606c42fde4d1998efcb3277f7be7fdb98cf /meta/recipes-devtools/cmake/cmake.inc | |
parent | 061818adbea1af9e98fe0fdf81b21f1e7f210c00 (diff) | |
download | openembedded-core-58fb9fbce2af05a469691390e75aebb2de16ca96.tar.gz openembedded-core-58fb9fbce2af05a469691390e75aebb2de16ca96.tar.bz2 openembedded-core-58fb9fbce2af05a469691390e75aebb2de16ca96.tar.xz openembedded-core-58fb9fbce2af05a469691390e75aebb2de16ca96.zip |
gcc-package-target.inc: add the symbol link /lib/cpp
When I was trying self-hosted-image, eglibc's do_install failed in the target:
ERROR: cannot stat bootparam_prot.h:
the cause is: rpcgen doesn't work properly: rpcgen can't exec /lib/cpp since
it doesn't exist.
According to http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/lib.html:
"if a C preprocessor is installed, /lib/cpp must be a reference to it, for
historical reasons. The usual placement of this binary is /usr/bin/cpp".
Typical distros, like Ubuntu, openSuSE, Fedora and RHEL, all comply with
the rule.
Actually in meta/recipes-devtools/gcc/gcc-package-target.inc, we do try to
package ${base_libdir}/cpp:
FILES_cpp = "\
${bindir}/${TARGET_PREFIX}cpp \
${base_libdir}/cpp \
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1"
But unluckily we didn't create a symbol link in do_install.
This patch adds the symbol link.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'meta/recipes-devtools/cmake/cmake.inc')
0 files changed, 0 insertions, 0 deletions