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
)lib
$(SOC
).o
12 COBJS-y
+= clock.o power.o soc.o system.o pinmux.o tzpc.o
14 ifdef CONFIG_SPL_BUILD
15 COBJS-
$(CONFIG_EXYNOS5
) += clock_init_exynos5.o
16 COBJS-
$(CONFIG_EXYNOS5
) += dmc_common.o dmc_init_ddr3.o
17 COBJS-
$(CONFIG_EXYNOS4210
)+= dmc_init_exynos4.o clock_init_exynos4.o
19 COBJS-y
+= lowlevel_init.o
23 SRCS
:= $(COBJS
:.o
=.c
)
24 OBJS
:= $(addprefix $(obj
),$(COBJS
))
26 all: $(obj
).depend
$(LIB
)
29 $(call cmd_link_o_target
, $(OBJS
))
31 #########################################################################
33 # defines $(obj).depend target
34 include $(SRCTREE
)/rules.mk
36 sinclude
$(obj
).depend
38 #########################################################################