1511ed5fdSRajeshwari Shinde# 2511ed5fdSRajeshwari Shinde# Copyright (C) 2012 Samsung Electronics 3511ed5fdSRajeshwari Shinde# R. Chandrasekar <rcsekar@samsung.com> 4511ed5fdSRajeshwari Shinde# 5*1a459660SWolfgang Denk# SPDX-License-Identifier: GPL-2.0+ 6511ed5fdSRajeshwari Shinde# 7511ed5fdSRajeshwari Shinde 8511ed5fdSRajeshwari Shindeinclude $(TOPDIR)/config.mk 9511ed5fdSRajeshwari Shinde 10511ed5fdSRajeshwari ShindeLIB := $(obj)libsound.o 11511ed5fdSRajeshwari Shinde 12511ed5fdSRajeshwari ShindeCOBJS-$(CONFIG_SOUND) += sound.o 13511ed5fdSRajeshwari ShindeCOBJS-$(CONFIG_I2S) += samsung-i2s.o 14a2d8e0a7SRajeshwari ShindeCOBJS-$(CONFIG_SOUND_WM8994) += wm8994.o 155febe8dbSRajeshwari ShindeCOBJS-$(CONFIG_SOUND_MAX98095) += max98095.o 16511ed5fdSRajeshwari Shinde 17511ed5fdSRajeshwari ShindeCOBJS := $(COBJS-y) 18511ed5fdSRajeshwari ShindeSRCS := $(COBJS:.o=.c) 19511ed5fdSRajeshwari ShindeOBJS := $(addprefix $(obj),$(COBJS)) 20511ed5fdSRajeshwari Shinde 21511ed5fdSRajeshwari Shindeall: $(LIB) 22511ed5fdSRajeshwari Shinde 23511ed5fdSRajeshwari Shinde$(LIB): $(obj).depend $(OBJS) 24511ed5fdSRajeshwari Shinde $(call cmd_link_o_target, $(OBJS)) 25511ed5fdSRajeshwari Shinde 26511ed5fdSRajeshwari Shinde######################################################################### 27511ed5fdSRajeshwari Shinde 28511ed5fdSRajeshwari Shinde# defines $(obj).depend target 29511ed5fdSRajeshwari Shindeinclude $(SRCTREE)/rules.mk 30511ed5fdSRajeshwari Shinde 31511ed5fdSRajeshwari Shindesinclude $(obj).depend 32511ed5fdSRajeshwari Shinde 33511ed5fdSRajeshwari Shinde# 34