]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/armv7/s5p-common/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / s5p-common / Makefile
1 #
2 # Copyright (C) 2009 Samsung Electronics
3 # Minkyu Kang <mk7.kang@samsung.com>
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 include $(TOPDIR)/config.mk
9
10 LIB     = $(obj)libs5p-common.o
11
12 COBJS-y         += cpu_info.o
13 ifndef CONFIG_SPL_BUILD
14 COBJS-y         += timer.o
15 COBJS-y         += sromc.o
16 COBJS-$(CONFIG_PWM)     += pwm.o
17 endif
18
19 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
20 OBJS    := $(addprefix $(obj),$(COBJS-y) $(SOBJS))
21
22 all:     $(obj).depend $(LIB)
23
24 $(LIB): $(OBJS)
25         $(call cmd_link_o_target, $(OBJS))
26
27 #########################################################################
28
29 # defines $(obj).depend target
30 include $(SRCTREE)/rules.mk
31
32 sinclude $(obj).depend
33
34 #########################################################################