audio: TV Configure [1/2]
PD#SWPL-184688
Problem:
Switch different Tv Configure denpends on model name
Solution:
add relative logic
Verify:
yocto
Change-Id: Ic65ff1be20602eef682329333908030d39e44cd7
Signed-off-by: yanlei.li <yanlei.li@amlogic.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 46c6de4..c1943f4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -105,8 +105,7 @@
list(APPEND EQ_DRC_FILES
aml_aq_hw/audio_eq_drc_compensation.c
aml_aq_hw/audio_eq_drc_parser.c
- aml_aq_hw/ini/dictionary.c
- aml_aq_hw/ini/iniparser.c)
+ )
add_definitions(-DUSE_EQ_DRC)
endif()
@@ -226,6 +225,8 @@
utils/aml_reverb.c
utils/format.c
utils/aml_audio_uevent.c
+ utils/dictionary.c
+ utils/iniparser.c
vendor_process/audio_post_process.c
vendor_process/audio_effect_if.c
vendor_process/aml_audio_aec.c
@@ -310,8 +311,7 @@
if(USE_EQ_DRC)
target_include_directories(audio_hal PRIVATE
./include/aml_aq_hw
- ./aml_aq_hw
- ./aml_aq_hw/ini)
+ ./aml_aq_hw)
target_link_libraries(audio_hal ${PREBUILD_STATIC_LIBS})
target_compile_options(audio_hal PRIVATE -DAML_EQ_DRC)
endif()