toolchain: musl: add riscv32/64 support
authorZoltan HERPAI <wigyori@uid0.hu>
Wed, 17 Oct 2018 21:07:45 +0000 (23:07 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Mon, 13 May 2019 22:44:53 +0000 (00:44 +0200)
commita4ca3ccd027407f6d75ff8b33c5e3c55224b6f6d
treee3d2559dd08da233abf621499f2a90da5e750e5a
parenta21993cbc7c02ef328e3421de7952bc6ee549e61
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 <wigyori@uid0.hu>
toolchain/musl/patches/902-RISC-V-add-riscv32-and-riscv64.patch [new file with mode: 0644]