[oe-commits] Frans Meulenbroeks : gcc4.2.x: patch Makefile.in for cross compile badness

git version control git at git.openembedded.org
Sat Aug 14 09:35:31 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 2cde6e004fdc0487d9bce741f0a8ef0a979f9079
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2cde6e004fdc0487d9bce741f0a8ef0a979f9079

Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date:   Sun Jul 25 22:13:53 2010 +0200

gcc4.2.x: patch Makefile.in for cross compile badness

When compiling gcc target code make passes -I(GMPINC)
but this one points to the host dir (it is set to HOST_GMPINC
which in oe points to tmp/sysroots/i686-linux/usr/include).
This patch breaks the env var $(INCLUDES) in two and
only uses the TARGET specific part for compiling libgcc
and the crt stuff.

The patch has been verified by baking all affected recipes with
bitbake -c configure -b recipe

Also introduced INC_PR

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

---

 recipes/gcc/gcc-4.2.1.inc               |    3 ++
 recipes/gcc/gcc-4.2.1/Makefile.in.patch |   38 +++++++++++++++++++++++++++++++
 recipes/gcc/gcc-4.2.2.inc               |    3 +-
 recipes/gcc/gcc-4.2.2/Makefile.in.patch |   38 +++++++++++++++++++++++++++++++
 recipes/gcc/gcc-4.2.3.inc               |    3 +-
 recipes/gcc/gcc-4.2.3/Makefile.in.patch |   38 +++++++++++++++++++++++++++++++
 recipes/gcc/gcc-4.2.4.inc               |    3 +-
 recipes/gcc/gcc-4.2.4/Makefile.in.patch |   38 +++++++++++++++++++++++++++++++
 recipes/gcc/gcc-cross_4.2.1.bb          |    2 +-
 recipes/gcc/gcc_4.2.1.bb                |    2 +-
 10 files changed, 163 insertions(+), 5 deletions(-)

Diff:   http://gitweb.openembedded.net/?p=openembedded.git/?a=commitdiff;h=2cde6e004fdc0487d9bce741f0a8ef0a979f9079




More information about the Openembedded-commits mailing list