[openwrt/openwrt] uboot-mediatek: fix build on Mac OS X

LEDE Commits lede-commits at lists.infradead.org
Sat Mar 13 13:41:24 GMT 2021


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/997ff740dc44045390680eaa30b6566d40bca322

commit 997ff740dc44045390680eaa30b6566d40bca322
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sat Mar 13 13:38:25 2021 +0000

    uboot-mediatek: fix build on Mac OS X
    
    Copy patch added to uboot-sunxi by commit 3cc57ba462
    ("uboot-sunxi: add missing type __u64") also to uboot-mediatek.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 .../boot/uboot-mediatek/patches/260-add-missing-type-u64.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/package/boot/uboot-mediatek/patches/260-add-missing-type-u64.patch b/package/boot/uboot-mediatek/patches/260-add-missing-type-u64.patch
new file mode 100644
index 0000000000..a6204c7b69
--- /dev/null
+++ b/package/boot/uboot-mediatek/patches/260-add-missing-type-u64.patch
@@ -0,0 +1,10 @@
+--- a/include/linux/types.h
++++ b/include/linux/types.h
+@@ -1,6 +1,7 @@
+ #ifndef _LINUX_TYPES_H
+ #define _LINUX_TYPES_H
+ 
++typedef unsigned long long __u64;
+ #include <linux/posix_types.h>
+ #include <asm/types.h>
+ #include <stdbool.h>



More information about the lede-commits mailing list