2 # Copyright (C) 2009 Samsung Electronics
3 # Minkyu Kang <mk7.kang@samsung.com>
5 # SPDX-License-Identifier: GPL-2.0+
8 include $(TOPDIR)/config.mk
10 LIB = $(obj)libs5p-common.o
13 ifndef CONFIG_SPL_BUILD
16 COBJS-$(CONFIG_PWM) += pwm.o
19 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
20 OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS))
22 all: $(obj).depend $(LIB)
25 $(call cmd_link_o_target, $(OBJS))
27 #########################################################################
29 # defines $(obj).depend target
30 include $(SRCTREE)/rules.mk
32 sinclude $(obj).depend
34 #########################################################################