toolchain: musl: add riscv32/64 support
authorZoltan HERPAI <[email protected]>
Wed, 17 Oct 2018 21:07:45 +0000 (23:07 +0200)
committerZoltan HERPAI <[email protected]>
Sun, 16 Dec 2018 13:28:07 +0000 (14:28 +0100)
commite0e63d787dc6c85d7c4e5e76b1e1040cf34c0963
treeac91885d155afe413c7eb03cceb67e066a079870
parentd9d2dcc0e405e7a5272c81b15444d5d1c796a237
toolchain: musl: add riscv32/64 support

Don't switch the riscv64 target from glibc yet, there are known
issues with libblobmsg_json.so blowing up.

[    0.890000] This architecture does not have kernel memory protection.
[    0.900000] Run /sbin/init as init process
Error loading shared library libjson-c.so.2: Symbolic link loop (needed by /sbin
/init)
Error loading shared library libjson-c.so.2: Symbolic link loop (needed by /lib/
libblobmsg_json.so)
Error relocating /lib/libblobmsg_json.so: json_object_get_object: symbol not fou
nd
Error relocating /lib/libblobmsg_json.so: json_object_from_file: symbol not foun
d
Error relocating /lib/libblobmsg_json.so: json_tokener_parse: symbol not found
Error relocating /lib/libblobmsg_json.so: json_object_get_int: symbol not found
Error relocating /lib/libblobmsg_json.so: json_object_get_boolean: symbol not fo
und

Signed-off-by: Zoltan HERPAI <[email protected]>
toolchain/musl/patches/902-RISC-V-add-riscv32-and-riscv64.patch [new file with mode: 0644]