aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2017-11-16 00:52:52 -0500
committerScott Murray <scott.murray@konsulko.com>2017-11-16 00:52:52 -0500
commit7a77a5ac58d91535423ba69274e237e723deb75e (patch)
treea00076adea88c7b07a372d64bd27d67dd12285ab
parent0c4fcb3398211791cca3babb7347a8f3ad958b9e (diff)
4a-hal-reference: Tweak platform HAL packaging
Tweak HAL build and packaging to build and ship the Intel HDA HAL for all the x86-64 platforms, and always build and ship the USB audio HAL. Change-Id: I22ff805eadc087495d17654c8eebff3be028f6cd Signed-off-by: Scott Murray <scott.murray@konsulko.com>
-rw-r--r--meta-audio-4a-framework/recipes-multimedia/4a-hal-reference/4a-hal-reference_git.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta-audio-4a-framework/recipes-multimedia/4a-hal-reference/4a-hal-reference_git.bb b/meta-audio-4a-framework/recipes-multimedia/4a-hal-reference/4a-hal-reference_git.bb
index 4abcc943..d29343c3 100644
--- a/meta-audio-4a-framework/recipes-multimedia/4a-hal-reference/4a-hal-reference_git.bb
+++ b/meta-audio-4a-framework/recipes-multimedia/4a-hal-reference/4a-hal-reference_git.bb
@@ -15,10 +15,13 @@ S = "${WORKDIR}/git"
inherit afb-system-cmake
-EXTRA_OECMAKE += " -DHAL_USB_DEVICE=1"
+EXTRA_OECMAKE += "-DHAL_USB_DEVICE=1"
-#Select Here your HAL
-EXTRA_OECMAKE_m3ulcb += " -DHAL_RCAR-M3=1"
+# Select platform specific additional HAL(s)
+EXTRA_OECMAKE_append_x86-64 = " -DHAL_INTEL_HDA=1"
+# Mark as specific to M3
+PACKAGE_ARCH_m3ulcb = "${MACHINE_ARCH}"
+EXTRA_OECMAKE_append_m3ulcb = " -DHAL_RCAR-M3=1"
FILES_${PN}-dev += "${INSTALL_PREFIX}/afb-aaaa/htdocs"
FILES_${PN} += "${INSTALL_PREFIX}/afb-aaaa"