annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 BINFILES= handheld.cfg handheld.vol
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 INSTDIR= /opt/freecalypso/aud-minimal
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 all: ${BINFILES}
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 handheld.cfg: handheld.src
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 tiaud-compile $< $@
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 handheld.vol: Makefile
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 tiaud-mkvol 150 $@
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 install: ${BINFILES}
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 mkdir -p ${INSTDIR}
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 install -c -m 644 ${BINFILES} ${INSTDIR}
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 clean:
677abb56abac create aud-minimal mode config
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 rm -f *.cfg *.vol