summaryrefslogtreecommitdiffstats
path: root/meta-audio-4a-framework/classes
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2017-11-11 19:00:27 +0100
committerStephane Desneux <stephane.desneux@iot.bzh>2017-11-11 23:44:36 +0100
commit54447aa1f8eb8366567a96f45713fd1cae036e1e (patch)
tree4b64dd821e616967bc15e33e135ce81704b6bb65 /meta-audio-4a-framework/classes
parentc3ec51de4f611d0c841cbae34611bfdf4cf8628f (diff)
Initial integration of 4A (AGL Advance Audio Agent)
This is a move of the work done initially by Ronan Le Martret <ronan.lemartret@iot.bzh> in https://gerrit.automotivelinux.org/gerrit/#/c/11651/ Change-Id: I3c2124b186e72fd9804ff713b22a36a93283650e Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'meta-audio-4a-framework/classes')
-rw-r--r--meta-audio-4a-framework/classes/afb-system-cmake.bbclass6
-rw-r--r--meta-audio-4a-framework/classes/afb-system.bbclass1
2 files changed, 7 insertions, 0 deletions
diff --git a/meta-audio-4a-framework/classes/afb-system-cmake.bbclass b/meta-audio-4a-framework/classes/afb-system-cmake.bbclass
new file mode 100644
index 00000000..b67ea90a
--- /dev/null
+++ b/meta-audio-4a-framework/classes/afb-system-cmake.bbclass
@@ -0,0 +1,6 @@
+inherit afb-system
+
+DEPENDS += "alsa-lib json-c systemd af-binder"
+inherit cmake pkgconfig
+
+EXTRA_OECMAKE_append = " -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX}"
diff --git a/meta-audio-4a-framework/classes/afb-system.bbclass b/meta-audio-4a-framework/classes/afb-system.bbclass
new file mode 100644
index 00000000..b553d621
--- /dev/null
+++ b/meta-audio-4a-framework/classes/afb-system.bbclass
@@ -0,0 +1 @@
+INSTALL_PREFIX = "${libexecdir}/agl"