Hi tech@,

Here is a diff to enable building wsmoused on arm64 and armv7.

Builds and works correctly on my CubieBoard2.

Comments? OK?

Index: usr.sbin/wsmoused/Makefile
===================================================================
RCS file: /cvs/src/usr.sbin/wsmoused/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- usr.sbin/wsmoused/Makefile  16 Jul 2014 20:07:03 -0000      1.7
+++ usr.sbin/wsmoused/Makefile  28 May 2020 16:35:14 -0000
@@ -1,6 +1,7 @@
 #      $OpenBSD: Makefile,v 1.7 2014/07/16 20:07:03 okan Exp $ 
 
-.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" ||\
+.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" || \
+    ${MACHINE} == "arm64" || ${MACHINE} == "armv7" || \
     ${MACHINE} == "alpha"
 
 PROG=  wsmoused
@@ -13,6 +14,6 @@ NOPROG=yes
 .endif
 
 MAN=   wsmoused.8 
-MANSUBDIR=     i386 amd64 alpha
+MANSUBDIR=     i386 amd64 arm64 armv7 alpha
 
 .include <bsd.prog.mk>

Reply via email to