summaryrefslogtreecommitdiffstats
path: root/meta-openmoko/packages/openmoko2/openmoko-alsa-scenarios.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openmoko/packages/openmoko2/openmoko-alsa-scenarios.bb')
-rw-r--r--meta-openmoko/packages/openmoko2/openmoko-alsa-scenarios.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-openmoko/packages/openmoko2/openmoko-alsa-scenarios.bb b/meta-openmoko/packages/openmoko2/openmoko-alsa-scenarios.bb
new file mode 100644
index 0000000000..08531e898e
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/openmoko-alsa-scenarios.bb
@@ -0,0 +1,21 @@
1DESCRIPTION = "Package for the different scenarios used by Openmoko"
2SECTION = "openmoko/base"
3PV = "1.0+svnr${SRCREV}"
4PR = "r1"
5
6COMPATIBLE_MACHINE = "(om-gta01|om-gta02)"
7
8SRC_URI_${MACHINE_ARCH} = "svn://svn.openmoko.org/trunk/src/target/audio/;module=${MACHINE_ARCH};proto=http"
9
10S = "${WORKDIR}/${MACHINE_ARCH}"
11
12do_install() {
13 install -d ${D}${datadir}/openmoko/scenarios/
14 install -m 644 ${S}/*.state ${D}${datadir}/openmoko/scenarios/
15 install -d ${D}${sysconfdir}/
16 install -m 644 ${S}/stereoout.state ${D}${sysconfdir}/asound.state
17}
18
19PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"
20
21FILES_${PN} += "${datadir}/openmoko"