openwrt-packages/utils/hwinfo/patches/050-arc.patch

14 lines
207 B
Diff

--- a/src/hd/hd.c
+++ b/src/hd/hd.c
@@ -156,6 +156,10 @@
#define HD_ARCH "riscv"
#endif
+#ifdef __arc__
+#define HD_ARCH "arc"
+#endif
+
typedef struct disk_s {
struct disk_s *next;
unsigned crc;