summaryrefslogtreecommitdiff
path: root/package/u-boot-h8300/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-09-17 14:47:04 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-09-17 14:47:04 +0200
commit882e048b442338c199b9469ca87569def6ec7ba4 (patch)
tree81b9e1bd977ca2b3b7ef0dd6eac15410aad07c81 /package/u-boot-h8300/patches
parent61e50d362c0720a350e16570689132d731c62c31 (diff)
u-boot-h8300: add back, needed for mkimage hosttool
Diffstat (limited to 'package/u-boot-h8300/patches')
-rw-r--r--package/u-boot-h8300/patches/patch-include_linux_compiler-gcc_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/u-boot-h8300/patches/patch-include_linux_compiler-gcc_h b/package/u-boot-h8300/patches/patch-include_linux_compiler-gcc_h
new file mode 100644
index 000000000..9780e2175
--- /dev/null
+++ b/package/u-boot-h8300/patches/patch-include_linux_compiler-gcc_h
@@ -0,0 +1,11 @@
+--- u-boot-h8300.orig/include/linux/compiler-gcc.h 2017-08-02 19:27:30.000000000 +0200
++++ u-boot-h8300/include/linux/compiler-gcc.h 2017-08-02 19:51:29.008209716 +0200
+@@ -109,7 +109,7 @@
+ #define __always_unused __attribute__((unused))
+
+ #define __gcc_header(x) #x
+-#define _gcc_header(x) __gcc_header(linux/compiler-gcc##x.h)
++#define _gcc_header(x) __gcc_header(linux/compiler-gcc5.h)
+ #define gcc_header(x) _gcc_header(x)
+ #include gcc_header(__GNUC__)
+