]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/cpu/armv7/exynos/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / arm / cpu / armv7 / exynos / Makefile
CommitLineData
008a351a
MK
1#
2# Copyright (C) 2009 Samsung Electronics
3# Minkyu Kang <mk7.kang@samsung.com>
4#
1a459660 5# SPDX-License-Identifier: GPL-2.0+
008a351a
MK
6#
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)lib$(SOC).o
11
643be9c0
RS
12COBJS-y += clock.o power.o soc.o system.o pinmux.o tzpc.o
13
14ifdef CONFIG_SPL_BUILD
15COBJS-$(CONFIG_EXYNOS5) += clock_init_exynos5.o
16COBJS-$(CONFIG_EXYNOS5) += dmc_common.o dmc_init_ddr3.o
17COBJS-$(CONFIG_EXYNOS4210)+= dmc_init_exynos4.o clock_init_exynos4.o
18COBJS-y += spl_boot.o
19COBJS-y += lowlevel_init.o
20endif
21
22COBJS := $(COBJS-y)
23SRCS := $(COBJS:.o=.c)
24OBJS := $(addprefix $(obj),$(COBJS))
008a351a
MK
25
26all: $(obj).depend $(LIB)
27
28$(LIB): $(OBJS)
29 $(call cmd_link_o_target, $(OBJS))
30
31#########################################################################
32
33# defines $(obj).depend target
34include $(SRCTREE)/rules.mk
35
36sinclude $(obj).depend
37
38#########################################################################