gcc4.3.x: patch Makefile.in for cross compile badness
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sun, 25 Jul 2010 20:07:10 +0000 (22:07 +0200)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sat, 14 Aug 2010 10:54:52 +0000 (12:54 +0200)
commitc9da5bb8400a2290af95402ee73ad53f642894b8
tree8df492b7607cbddcc625de8de2edc25d4101d457
parenteb973ef9d548f1aaa149ebead08e6ecbbc6f58f6
gcc4.3.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

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
recipes/gcc/gcc-4.3.1.inc
recipes/gcc/gcc-4.3.1/Makefile.in.patch [new file with mode: 0644]
recipes/gcc/gcc-4.3.2.inc
recipes/gcc/gcc-4.3.2/Makefile.in.patch [new file with mode: 0644]
recipes/gcc/gcc-4.3.3.inc
recipes/gcc/gcc-4.3.3/Makefile.in.patch [new file with mode: 0644]
recipes/gcc/gcc-4.3.4.inc
recipes/gcc/gcc-4.3.4/Makefile.in.patch [new file with mode: 0644]