Commit 1f43e235 authored by Guenter Roeck's avatar Guenter Roeck Committed by Stafford Horne
Browse files

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: default avatarGuenter Roeck <>
Tested-by: default avatarGuenter Roeck <>
Signed-off-by: default avatarStafford Horne <>
parent e60aa2fb
......@@ -30,7 +30,13 @@
#include <asm/cache.h>
#include <asm-generic/>
OUTPUT_FORMAT("elf32-or32", "elf32-or32", "elf32-or32")
#ifdef __OR1K__
#define __OUTPUT_FORMAT "elf32-or1k"
#define __OUTPUT_FORMAT "elf32-or32"
jiffies = jiffies_64 + 4;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment