gcc4.2.x: patch Makefile.in for cross compile badness
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sun, 25 Jul 2010 20:13:53 +0000 (22:13 +0200)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sat, 14 Aug 2010 09:27:20 +0000 (11:27 +0200)
commit2cde6e004fdc0487d9bce741f0a8ef0a979f9079
tree59e68a449aa248db3f5b361797e17931771b8591
parent5e47534a34f6d131fb9621320c637bda0256fbcf
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@gmail.com>
recipes/gcc/gcc-4.2.1.inc
recipes/gcc/gcc-4.2.1/Makefile.in.patch [new file with mode: 0644]
recipes/gcc/gcc-4.2.2.inc
recipes/gcc/gcc-4.2.2/Makefile.in.patch [new file with mode: 0644]
recipes/gcc/gcc-4.2.3.inc
recipes/gcc/gcc-4.2.3/Makefile.in.patch [new file with mode: 0644]
recipes/gcc/gcc-4.2.4.inc
recipes/gcc/gcc-4.2.4/Makefile.in.patch [new file with mode: 0644]
recipes/gcc/gcc-cross_4.2.1.bb
recipes/gcc/gcc_4.2.1.bb