avs_mtk_voice/meta/meta-mediatek-aud/0001-Modify-for-ppc-compile...

44 lines
1.3 KiB
Diff
Raw Normal View History

2022-05-13 08:02:31 +00:00
From ee1e3f58ac6daa9f4d4154b13c5a380058a32aff Mon Sep 17 00:00:00 2001
From: "Yusuf.Sha" <lfsha3@iflytek.com>
Date: Wed, 27 Mar 2019 19:06:25 +0800
Subject: [PATCH] Modify for ppc compile error.
---
recipes-multimedia/aud-misc/mtk-alsa-plugins.bb | 4 ++++
recipes-multimedia/aud-misc/mtk-audio-service.bb | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/recipes-multimedia/aud-misc/mtk-alsa-plugins.bb b/recipes-multimedia/aud-misc/mtk-alsa-plugins.bb
index d26584e..b191ba7 100755
--- a/recipes-multimedia/aud-misc/mtk-alsa-plugins.bb
+++ b/recipes-multimedia/aud-misc/mtk-alsa-plugins.bb
@@ -10,6 +10,10 @@ inherit workonsrc
WORKONSRC = "${WORKING_SRC}"
+do_configure() {
+ echo ""
+}
+
do_compile() {
oe_runmake MCFLAG="-I${MAS_SRC}/include -I${MAS_SRC}/mil/inc \
-I${MAS_SRC}/msb/inc -I${MAS_SRC}/mas_v2/inc"
diff --git a/recipes-multimedia/aud-misc/mtk-audio-service.bb b/recipes-multimedia/aud-misc/mtk-audio-service.bb
index a61acc4..46abd83 100644
--- a/recipes-multimedia/aud-misc/mtk-audio-service.bb
+++ b/recipes-multimedia/aud-misc/mtk-audio-service.bb
@@ -11,6 +11,10 @@ inherit workonsrc
WORKONSRC = "${MAS_SRC}"
+do_configure() {
+ echo ""
+}
+
do_compile() {
make MCFLAG="-I${BTA2DP_SRC}" BLICFLAG="-L${PDCT_LIB} -lpdct -ltz_efuse -ltz_uree"
}
--
2.7.4