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>
Sat, 27 Oct 2018 22:51:39 +0000 (00:51 +0200)
commitf5fe060b9ccc7d64d3b1764852b6e2b9273d5cad
tree76e6b878c2809b76846452f892d3096b002769ba
parentf46c67fd7ff2e37c240012a97aaffd926c792679
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]