gcc4.4.x: patch Makefile.in for cross compile badness
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sun, 25 Jul 2010 20:08:04 +0000 (22:08 +0200)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sat, 14 Aug 2010 10:55:12 +0000 (12:55 +0200)
commitc1eb425ccf05ad2f68753faccba6f5f76f5fa76e
tree52bf1ce13ca259a5bbf651e4ef95aa5f38394157
parentc9da5bb8400a2290af95402ee73ad53f642894b8
gcc4.4.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.4.1.inc
recipes/gcc/gcc-4.4.1/Makefile.in.patch [new file with mode: 0644]
recipes/gcc/gcc-4.4.2.inc
recipes/gcc/gcc-4.4.2/Makefile.in.patch [new file with mode: 0644]
recipes/gcc/gcc-4.4.4.inc
recipes/gcc/gcc-4.4.4/Makefile.in.patch [new file with mode: 0644]