commit e0ce19f

Samuel MarĂ­n Soto  ·  2026-05-03 02:26:06 +0000 UTC
parent 4405d8c
musl: build on riscv64

generate riscv64.lua as with other arches.
1 files changed,  +38, -0
+38, -0
 1@@ -0,0 +1,38 @@
 2+return {
 3+	srcs={
 4+		-- <cd src && printf "\t\t'%s',\n" src/*/riscv64/*.[csS]
 5+		'src/fenv/riscv64/fenv-sf.c',
 6+		'src/fenv/riscv64/fenv.S',
 7+		'src/ldso/riscv64/dlsym.s',
 8+		'src/ldso/riscv64/tlsdesc.s',
 9+		'src/math/riscv64/copysign.c',
10+		'src/math/riscv64/copysignf.c',
11+		'src/math/riscv64/fabs.c',
12+		'src/math/riscv64/fabsf.c',
13+		'src/math/riscv64/fma.c',
14+		'src/math/riscv64/fmaf.c',
15+		'src/math/riscv64/fmax.c',
16+		'src/math/riscv64/fmaxf.c',
17+		'src/math/riscv64/fmin.c',
18+		'src/math/riscv64/fminf.c',
19+		'src/math/riscv64/sqrt.c',
20+		'src/math/riscv64/sqrtf.c',
21+		'src/process/riscv64/vfork.s',
22+		'src/setjmp/riscv64/longjmp.S',
23+		'src/setjmp/riscv64/setjmp.S',
24+		'src/signal/riscv64/restore.s',
25+		'src/signal/riscv64/sigsetjmp.s',
26+		'src/thread/riscv64/__set_thread_area.s',
27+		'src/thread/riscv64/__unmapself.s',
28+		'src/thread/riscv64/clone.s',
29+		'src/thread/riscv64/syscall_cp.s',
30+	},
31+	bits={
32+		-- <cd src/arch/riscv64/bits && printf "\t\t'%s',\n" *.h
33+		'fenv.h',
34+		'float.h',
35+		'setjmp.h',
36+		'signal.h',
37+		'user.h',
38+	},
39+}