diff options
author | Georgi Valkov <gvalkov@abv.bg> | 2021-02-20 15:49:51 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-03-01 21:49:55 +0100 |
commit | e9e2310c6a5ea1c82208fc5ff770377d33fbd1f7 (patch) | |
tree | b8b3c73c53da60b4b81ce732f052beff17c5391b /package/boot/uboot-envtools/patches/001-compile.patch | |
parent | 59ba79d675227054f40208b7b0f9102145355bb2 (diff) | |
download | upstream-e9e2310c6a5ea1c82208fc5ff770377d33fbd1f7.tar.gz upstream-e9e2310c6a5ea1c82208fc5ff770377d33fbd1f7.tar.bz2 upstream-e9e2310c6a5ea1c82208fc5ff770377d33fbd1f7.zip |
uboot-sunxi: add missing type __u64
Non Linux systems e.g. macOS lack the __u64 type and produce build errors:
In file included from tools/aisimage.c:9:
In file included from include/image.h:19:
In file included from ./arch/arm/include/asm/byteorder.h:29:
In file included from include/linux/byteorder/little_endian.h:13:
include/linux/types.h:146:9: error: unknown type name '__u64'; did you mean '__s64'?
typedef __u64 __bitwise __le64;
Resolved by declaring __u64 in include/linux/types.h
Build tested on macOS and Ubuntu.
Signed-off-by: Georgi Valkov <gvalkov@abv.bg>
(cherry picked from commit 3cc57ba4627c9c7555f8ad86e4f78d86d8f9ddf0)
Diffstat (limited to 'package/boot/uboot-envtools/patches/001-compile.patch')
0 files changed, 0 insertions, 0 deletions