[OE-core] [PATCH 2/4] gcc-package-target.inc: add the symbol link /lib/cpp
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Nov 24 11:21:32 UTC 2011
On Thu, 2011-11-24 at 18:08 +0800, Dexuan Cui wrote:
> Signed-off-by: Dexuan Cui <dexuan.cui at intel.com>
> ---
> meta/recipes-devtools/gcc/gcc-4.6.inc | 2 +-
> meta/recipes-devtools/gcc/gcc-package-target.inc | 2 ++
> 2 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
> index 7bf14e3..7cd0850 100644
> --- a/meta/recipes-devtools/gcc/gcc-4.6.inc
> +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc
> @@ -1,6 +1,6 @@
> require gcc-common.inc
>
> -PR = "r17"
> +PR = "r18"
>
> # Third digit in PV should be incremented after a minor release
> # happens from this branch on gcc e.g. currently its 4.6.0
> diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
> index f0f1a04..3076670 100644
> --- a/meta/recipes-devtools/gcc/gcc-package-target.inc
> +++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
> @@ -122,6 +122,8 @@ do_install () {
> ln -sf ${TARGET_PREFIX}g++ g++
> ln -sf ${TARGET_PREFIX}gcc gcc
> ln -sf ${TARGET_PREFIX}cpp cpp
> + install -d ${D}${base_libdir}
> + ln -sf ${bindir}/${TARGET_PREFIX}cpp ${D}${base_libdir}/cpp
> ln -sf g++ c++
> ln -sf gcc cc
Why do we need this change?
Cheers,
Richard
More information about the Openembedded-core
mailing list