1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-18 13:23:57 +02:00
openwrt-packages/utils/hwinfo/patches/050-arc.patch

14 lines
207 B
Diff
Raw Permalink Normal View History

--- 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;