binutils: arc: Fix native binutils build failure
authorAnton Kolesov <anton.kolesov@synopsys.com>
Fri, 6 Jun 2014 09:56:24 +0000 (13:56 +0400)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 7 Jun 2014 07:27:43 +0000 (09:27 +0200)
commit701e8a8e81f9cc2947d1bc2894214be9d563b60d
tree0a39a3076a2b51c892873d742ef3088d28b09608
parent3eccb988c38f4c4806133dad79e16b155ce05447
binutils: arc: Fix native binutils build failure

ARC-specific Makefile has been ignoring DESTDIR when doing target "install".
This has been causing build failure for native binutils, since it was trying
to install into the host's "/usr". This commit adds a patch that teaches
Makefile to honor DESTDIR. This patch should be removed after ARC Binutils
will be bumped to next release.

This fixes:
http://autobuild.buildroot.net/results/68ee094509db3e8fbedf9bab5745ff68cdfe0a84/

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/binutils/arc-4.8-R3/0001-arc-Honor-DESTDIR-in-custom-Makefile.patch [new file with mode: 0644]