# Copyright (c) 2019 - 2021, Sonos Inc.  All rights reserved.

KBUILD_CFLAGS_MODULE += -Werror

ccflags-y := -I$(src)/../include
ccflags-y += -I$(src)/../../common/ctl

obj-$(CONFIG_SONOS_I2C_AMPCTL) += amperctl.o

amperctl-y := amperctl_drv.o
amperctl-$(CONFIG_SONOS_TAS5720) += tas5720.o
amperctl-$(CONFIG_SONOS_TAS58XX) += tas58xx.o
amperctl-$(CONFIG_SONOS_AMPMCU) += ampmcu.o
amperctl-$(CONFIG_SONOS_AK4490) += ak4490.o
amperctl-$(CONFIG_SONOS_CS43130) += cs431xx.o
amperctl-$(CONFIG_SONOS_MA2304) += ma2304.o
amperctl-$(CONFIG_SONOS_SSM3582) += ssm3582.o
amperctl-$(CONFIG_SONOS_RT9120S) += rt9120s.o
