mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
e9e2310c6a
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
|
||
---|---|---|
.. | ||
002-add-olimex-a13-som.patch | ||
003-add-theobroma-a31-pangolin.patch | ||
062-A20-improve-gmac-upload.patch | ||
063-fix-lime2-revK-add-micrel-PHY.patch | ||
091-sun6i-sync-PLL1-multdiv-with-Boot1.patch | ||
093-sun6i-fix-PLL-LDO-voltselect.patch | ||
100-sun6i-alternate-on-UART2.patch | ||
101-sun6i-support-console-on-UART2.patch | ||
102-sunxi-make_CONS_INDEX-configurable.patch | ||
200-mkimage-check-environment-for-dtc-binary-location.patch | ||
210-sunxi-deactivate-binman.patch | ||
230-disable-axp209-on-a13-olinuxino.diff | ||
250-sun8i-h3-zeropi-add-device-tree.patch | ||
251-sun8i-h3-zeropi-add-defconfig.patch | ||
252-sunxi-h3-add-support-for-nanopi-r1.patch | ||
260-add-missing-type-u64.patch |