]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - drivers/sound/Makefile
dm: sound: exynos: Add support for max98090
[thirdparty/u-boot.git] / drivers / sound / Makefile
index 696c5aecbe99dcb2f21ba11d6a2746c2b1917844..937df152fe6ac84240f34c6f135be0e6236012d3 100644 (file)
@@ -4,8 +4,16 @@
 # R. Chandrasekar <rcsekar@samsung.com>
 
 obj-$(CONFIG_SOUND)    += sound.o
-obj-$(CONFIG_I2S)      += sound-i2s.o
+obj-$(CONFIG_DM_SOUND) += codec-uclass.o
+obj-$(CONFIG_DM_SOUND) += i2s-uclass.o
+obj-$(CONFIG_DM_SOUND) += sound-uclass.o
 obj-$(CONFIG_I2S_SAMSUNG)      += samsung-i2s.o
 obj-$(CONFIG_SOUND_SANDBOX)    += sandbox.o
+ifdef CONFIG_DM_SOUND
+obj-$(CONFIG_I2S_SAMSUNG)      += samsung_sound.o
+else
+obj-$(CONFIG_I2S)      += sound-i2s.o
+endif
 obj-$(CONFIG_SOUND_WM8994)     += wm8994.o
-obj-$(CONFIG_SOUND_MAX98095)   += max98095.o
+obj-$(CONFIG_SOUND_MAX98090)   += max98090.o maxim_codec.o
+obj-$(CONFIG_SOUND_MAX98095)   += max98095.o maxim_codec.o