openrisc: Support both old (or32) and new (or1k) toolchain
authorGuenter Roeck <linux@roeck-us.net>
Sat, 19 Jul 2014 21:39:08 +0000 (00:39 +0300)
committerStafford Horne <shorne@gmail.com>
Mon, 12 Dec 2016 14:09:40 +0000 (23:09 +0900)
commit1f43e235dfc44be335e484dae88928e997036026
treea2434d19302975d16631695da3e811359b760a6d
parente60aa2fba4678d4e7e2d28ef4f2110084d0b150a
openrisc: Support both old (or32) and new (or1k) toolchain

The output file format for or1k has changed from "elf32-or32"
to "elf32-or1k". Select the correct output format automatically
to be able to compile the kernel with both toolchain variants.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/kernel/vmlinux.lds.S