Files
poky/meta/recipes-devtools
Dexuan Cui 1cfd618493 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.

(From OE-Core rev: 58fb9fbce2af05a469691390e75aebb2de16ca96)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-24 23:33:35 +00:00
..
2011-10-20 17:13:41 +01:00
2011-07-01 23:27:29 +01:00
2011-11-16 22:06:58 +00:00
2011-11-16 17:32:44 +00:00
2011-10-07 11:35:44 +01:00
2011-07-20 15:27:36 +01:00
2011-07-01 23:27:29 +01:00
2011-05-19 20:51:38 +01:00
2011-09-07 22:54:13 +01:00
2011-10-27 08:29:51 +01:00
2011-06-23 12:07:31 +01:00
2011-11-10 11:51:18 +00:00
2011-11-16 22:06:58 +00:00
2011-07-08 16:39:07 +01:00
2011-10-14 13:18:18 +01:00
2011-10-24 17:27:16 +01:00
2011-11-18 10:47:12 +00:00
2011-07-01 23:27:29 +01:00
2010-12-23 15:52:06 +00:00