]>
git.ipfire.org Git - thirdparty/u-boot.git/blob - drivers/sound/Makefile
2 # Copyright (C) 2012 Samsung Electronics
3 # R. Chandrasekar <rcsekar@samsung.com>
5 # SPDX-License-Identifier: GPL-2.0+
8 include $(TOPDIR
)/config.mk
10 LIB
:= $(obj
)libsound.o
12 COBJS-
$(CONFIG_SOUND
) += sound.o
13 COBJS-
$(CONFIG_I2S
) += samsung-i2s.o
14 COBJS-
$(CONFIG_SOUND_WM8994
) += wm8994.o
15 COBJS-
$(CONFIG_SOUND_MAX98095
) += max98095.o
18 SRCS
:= $(COBJS
:.o
=.c
)
19 OBJS
:= $(addprefix $(obj
),$(COBJS
))
23 $(LIB
): $(obj
).depend
$(OBJS
)
24 $(call cmd_link_o_target
, $(OBJS
))
26 #########################################################################
28 # defines $(obj).depend target
29 include $(SRCTREE
)/rules.mk
31 sinclude
$(obj
).depend