Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -0,0 +1,10 @@
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: egl
Description: egl for RaspberryPI
Version: 0.0
Libs: -L${libdir} -lEGL -lGLESv2
Cflags: -I${includedir}/vc -I${includedir}/interface -I${includedir}/interface/vcos -I${includedir}/interface/vcos/pthreads
@@ -0,0 +1,24 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: vchiq.sh
# Required-Start: $remote_fs rmnologin
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Create /dev/vchiq.
# Description: Get the major number from /proc/devices and use it
# ti create /dev/vchiq
### END INIT INFO
rm -f /dev/vchiq
#Get the major number
major=$(awk "\$2==\"vchiq\" {print \$1}" /proc/devices)
if [ -z "$major" ]; then
echo "Error: Cannot find vchiq in /proc/devices"
exit 2
else
mknod /dev/vchiq c "$major" 0
chmod a+w /dev/vchiq
fi