mirror of
https://git.suyu.dev/suyu/ext-linux-bin.git
synced 2026-01-02 04:35:01 +01:00
hidapi: Add 0.10.1 (trunk) repo and binary
Adds submodule to libusb/hidapi and leaves it at the most recent commit. Add binary package to be installed by the container. Adds build scripts based on the linux-fresh container.
This commit is contained in:
parent
991299d479
commit
057e4a1f42
5 changed files with 60 additions and 0 deletions
19
hidapi/start_build.sh
Normal file
19
hidapi/start_build.sh
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Kicks off the build script using the linux-fresh build container.
|
||||
|
||||
if [ "$#" -ne 2 ]; then
|
||||
echo "usage: $0 <Source directory> <Build script>"
|
||||
exit
|
||||
fi
|
||||
UID=`id -u`
|
||||
GID=`id -g`
|
||||
|
||||
SRC_DIR=$(readlink -e $1)
|
||||
SRC_DIR_BASENAME=$(basename ${SRC_DIR})
|
||||
SCRIPT=$(readlink -e $2)
|
||||
SCRIPT_BASENAME=$(basename ${SCRIPT})
|
||||
|
||||
cp ${SCRIPT} ${SRC_DIR}
|
||||
docker run -v ${SRC_DIR}:/${SRC_DIR_BASENAME} -w /${SRC_DIR_BASENAME} -u root -t yuzuemu/build-environments:linux-fresh /bin/bash /${SRC_DIR_BASENAME}/${SCRIPT_BASENAME} ${UID} ${GID}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue