|
|
@ -1,4 +1,4 @@ |
|
|
|
PREFIX:=/usr
|
|
|
|
PREFIX:=/
|
|
|
|
|
|
|
|
|
|
|
|
programs/sxmo_setpineled: |
|
|
|
programs/sxmo_setpineled: |
|
|
|
gcc -o programs/sxmo_setpineled programs/sxmo_setpineled.c
|
|
|
|
gcc -o programs/sxmo_setpineled programs/sxmo_setpineled.c
|
|
|
@ -7,17 +7,19 @@ programs/sxmo_setpinebacklight: |
|
|
|
gcc -o programs/sxmo_setpinebacklight programs/sxmo_setpinebacklight.c
|
|
|
|
gcc -o programs/sxmo_setpinebacklight programs/sxmo_setpinebacklight.c
|
|
|
|
|
|
|
|
|
|
|
|
install: programs/sxmo_setpineled programs/sxmo_setpinebacklight |
|
|
|
install: programs/sxmo_setpineled programs/sxmo_setpinebacklight |
|
|
|
mkdir -p $(PREFIX)/share/sxmo
|
|
|
|
mkdir -p $(PREFIX)/usr/share/sxmo
|
|
|
|
cp configs/* $(PREFIX)/share/sxmo
|
|
|
|
cp configs/* $(PREFIX)/usr/share/sxmo
|
|
|
|
cp configs/asound.conf /etc/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p $(PREFIX)/bin
|
|
|
|
mkdir -p $(PREFIX)/etc/alsa/conf.d/
|
|
|
|
cp scripts/* $(PREFIX)/bin
|
|
|
|
cp configs/alsa_sxmo_enable_dmix.conf $(PREFIX)/etc/alsa/conf.d/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p $(PREFIX)/usr/bin
|
|
|
|
|
|
|
|
cp scripts/* $(PREFIX)/usr/bin
|
|
|
|
|
|
|
|
|
|
|
|
chown root programs/sxmo_setpineled
|
|
|
|
chown root programs/sxmo_setpineled
|
|
|
|
chmod u+s programs/sxmo_setpineled
|
|
|
|
chmod u+s programs/sxmo_setpineled
|
|
|
|
cp programs/sxmo_setpineled $(PREFIX)/bin
|
|
|
|
cp programs/sxmo_setpineled $(PREFIX)/usr/bin
|
|
|
|
|
|
|
|
|
|
|
|
chown root programs/sxmo_setpinebacklight
|
|
|
|
chown root programs/sxmo_setpinebacklight
|
|
|
|
chmod u+s programs/sxmo_setpinebacklight
|
|
|
|
chmod u+s programs/sxmo_setpinebacklight
|
|
|
|
cp programs/sxmo_setpinebacklight $(PREFIX)/bin
|
|
|
|
cp programs/sxmo_setpinebacklight $(PREFIX)/usr/bin
|
|
|
|