summaryrefslogtreecommitdiffstats
path: root/usr/klibc/arch/riscv64/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'usr/klibc/arch/riscv64/Kbuild')
-rw-r--r--usr/klibc/arch/riscv64/Kbuild12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr/klibc/arch/riscv64/Kbuild b/usr/klibc/arch/riscv64/Kbuild
new file mode 100644
index 0000000..218f386
--- /dev/null
+++ b/usr/klibc/arch/riscv64/Kbuild
@@ -0,0 +1,12 @@
+# -*- makefile -*-
+#
+# klibc files for riscv64
+
+always := crt0.o _main.o
+targets := crt0.o _main.o
+
+klib-y := setjmp.o syscall.o
+
+install-rule:
+ $(Q)$(shell $(install-data) $(call objectify,_main.o) \
+ $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)lib)