Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions test_mips.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

cd $(dirname $0) || exit 1
GO_UDEV="go-udev-mips64"
GOOS=linux GOARCH=mips64 go build -o ${GO_UDEV}
chmod +x ./${GO_UDEV}
docker run -it --rm -v "$PWD:$PWD" -w $PWD dockcross/linux-mips ./${GO_UDEV} -info
# docker run -it --net=host -v=/dev:/dev --rm -v "$PWD:$PWD" -w $PWD dockcross/linux-mips ./${GO_UDEV} -monitor