binutils,gcc: use correct --prefix
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 22 Jul 2010 13:42:27 +0000 (15:42 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 27 Jul 2010 20:56:36 +0000 (22:56 +0200)
commit2ae84ac85ff72a861e8c276ba4e650e1e9ba7982
tree91c50ef57f22f04eade4bf7c2b5338a1e8ec95ea
parentf2860bbc8ea6ff959b91eaa8919177d273ee4497
binutils,gcc: use correct --prefix

The cross binutils and cross gcc are actually going to be executed
from $(STAGING_DIR)/usr, so the correct prefix is $(STAGING_DIR)/usr
and not /usr.

This also fixes what is known as the "AVR32 toolchain build failure",
which was due to the fact that the prefix directory wasn't writable
(since it was /usr).

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