common: audio: Make audio HAL include optional.

* Don't need the audio HAL on vendorless builds as
   it's primarily vendor modules.

Change-Id: Ibdd15d6e1ca31638b721a5d2c3701fb7f5e84ff1
This commit is contained in:
Alexander Koskovich 2020-10-03 13:55:33 -07:00
parent d91165b1c0
commit 44a4c0710d
No known key found for this signature in database
GPG Key ID: F1107C9A417AC130
1 changed files with 4 additions and 4 deletions

View File

@ -12,16 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Audio Configuration File
include $(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/qssi/qssi.mk
# Inherit from QSSI audio makefile.
include $(TOPDIR)vendor/qcom/opensource/commonsys/audio/configs/qssi/qssi.mk
ifneq ($(TARGET_BOARD_PLATFORM),)
include $(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/$(TARGET_BOARD_PLATFORM)/$(TARGET_BOARD_PLATFORM).mk
-include $(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/$(TARGET_BOARD_PLATFORM)/$(TARGET_BOARD_PLATFORM).mk
else
$(error "TARGET_BOARD_PLATFORM is not defined yet. Please define in your device Makefile if you wish to use this component")
endif
# Override proprietary definitions from QSSI audio HAL Makefile.
# Override proprietary definitions from QSSI audio makefile.
AUDIO_FEATURE_ENABLED_AHAL_EXT := false
# Override proprietary definitions from SoC audio HAL Makefiles.