crash-trace-command/0003-carsh-trace-command-3.0-add-riscv64-support.patch

14 lines
267 B
Diff
Raw Normal View History

2023-07-08 11:41:40 +08:00
--- a/Makefile 2023-07-08 11:07:34.321771165 +0800
+++ b/Makefile 2023-07-08 11:08:32.621465214 +0800
@@ -34,6 +34,10 @@
TARGET=ARM64
TARGET_CFLAGS=
endif
+ifeq ($(shell arch), riscv64)
+ TARGET=RISCV64
+ TARGET_CFLAGS=
+endif
INCDIR=/usr/include/crash