crash-trace-command/1000-add-sw_64-support-not-upstream-modified.patch
herengui 42ab621292 添加龙芯和申威架构支持
Signed-off-by: herengui <herengui@kylinsec.com.cn>
(cherry picked from commit 87c261a0384dd6db99e20cc20e04bcc4f71bd101)
2023-09-06 14:54:14 +08:00

28 lines
607 B
Diff

From 2f7ac2e08003c42ef13ed001b5344e2ddba36ef2 Mon Sep 17 00:00:00 2001
From: yangchenguang <yangchenguang@kylinsec.com.cn>
Date: Sat, 13 May 2023 16:40:50 +0800
Subject: [PATCH] Add sw_64 support
Signed-off-by: yangchenguang <yangchenguang@kylinsec.com.cn>
---
Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Makefile b/Makefile
index 0d35d4f..325822e 100755
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,10 @@ ifeq ($(shell arch), aarch64)
TARGET=ARM64
TARGET_CFLAGS=
endif
+ifeq ($(shell arch), sw_64)
+ TARGET=SW_64
+ TARGET_CFLAGS=
+endif
INCDIR=/usr/include/crash
--
2.33.0