aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJosef Schlehofer <pepe.schlehofer@gmail.com>2022-09-14 15:19:56 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-10-02 20:22:54 +0200
commit9c7472950b01c5b3a461f4e29b3b62bac9e35b46 (patch)
tree29e3240d2d5aaa66e51af7f0f3ebb45f78b5c69b /config
parent17c1bf7e6c340af96f0d1c0b0bfd5ea8321ac34d (diff)
downloadupstream-9c7472950b01c5b3a461f4e29b3b62bac9e35b46.tar.gz
upstream-9c7472950b01c5b3a461f4e29b3b62bac9e35b46.tar.bz2
upstream-9c7472950b01c5b3a461f4e29b3b62bac9e35b46.zip
uboot-mvebu: backport patch to fix compilation on non glibc system
This issue was reported by @paper42, who is using Void Linux with musl to compile OpenWrt and its packages and found out it is not possible to compile U-boot for Turris Omnia (neither any other). It fixes following output: ``` HOSTCC tools/kwboot tools/kwboot.c: In function 'kwboot_tty_change_baudrate': tools/kwboot.c:662:6: error: 'struct termios' has no member named 'c_ospeed' 662 | tio.c_ospeed = tio.c_ispeed = baudrate; | ^ tools/kwboot.c:662:21: error: 'struct termios' has no member named 'c_ispeed' 662 | tio.c_ospeed = tio.c_ispeed = baudrate; | ^ tools/kwboot.c:690:31: error: 'struct termios' has no member named 'c_ospeed' 690 | if (!_is_within_tolerance(tio.c_ospeed, baudrate, 3)) | ^ tools/kwboot.c:693:31: error: 'struct termios' has no member named 'c_ispeed' 693 | if (!_is_within_tolerance(tio.c_ispeed, baudrate, 3)) | ``` Tested-by: Michal Vasilek <michal.vasilek@nic.cz> Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions