target-gcc: fix build
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 27 Jul 2010 16:17:26 +0000 (18:17 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 27 Jul 2010 16:23:16 +0000 (18:23 +0200)
commitf43054d841c82c121c4fd8c1e6604888233b6d10
tree5035796c0d006d5c7b62c5aad13b2e0812eb8eb4
parent5e8e1cdb608499dc620d88af32033adca72e5645
target-gcc: fix build

Now that $(STAGING_DIR)/usr/bin is no longer in the PATH, we need to
pass the absolute paths to $(TARGET_CC) when building the target gcc
compiler.

This commit fixes the target gcc build problem reported on the list. I
have successfully been able to build a target gcc for ARM, use it to
compile a hello world application on the target and run this
application.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/gcc/gcc-uclibc-4.x.mk