diff aud-minimal/Makefile @ 7:677abb56abac

create aud-minimal mode config Our FreeCalypso handset firmware will soon start requiring audio mode configuration files. handfree and headset modes can be omitted on targets that have no headset or loudspeaker support, but the basic handheld mode will always be required - if audio mode loading fails, then volume control via RV Audio Service won't work. The minimal handheld mode config created here should be correct for all currently supported targets.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 14 Jun 2021 00:57:24 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/aud-minimal/Makefile	Mon Jun 14 00:57:24 2021 +0000
@@ -0,0 +1,17 @@
+BINFILES=	handheld.cfg handheld.vol
+INSTDIR=	/opt/freecalypso/aud-minimal
+
+all:	${BINFILES}
+
+handheld.cfg:	handheld.src
+	tiaud-compile $< $@
+
+handheld.vol:	Makefile
+	tiaud-mkvol 150 $@
+
+install:	${BINFILES}
+	mkdir -p ${INSTDIR}
+	install -c -m 644 ${BINFILES} ${INSTDIR}
+
+clean:
+	rm -f *.cfg *.vol