]> git.ipfire.org Git - people/ms/u-boot.git/blob - board/samsung/smdk5250/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / board / samsung / smdk5250 / Makefile
1 #
2 # Copyright (C) 2012 Samsung Electronics
3 #
4 # SPDX-License-Identifier: GPL-2.0+
5 #
6
7 include $(TOPDIR)/config.mk
8
9 LIB = $(obj)lib$(BOARD).o
10
11 COBJS += smdk5250_spl.o
12
13 ifndef CONFIG_SPL_BUILD
14 ifdef CONFIG_OF_CONTROL
15 COBJS += exynos5-dt.o
16 else
17 COBJS += smdk5250.o
18 endif
19 endif
20
21 SRCS := $(COBJS:.o=.c)
22 OBJS := $(addprefix $(obj),$(COBJS))
23
24 ALL := $(obj).depend $(LIB)
25
26 all: $(ALL)
27
28 $(LIB): $(OBJS)
29 $(call cmd_link_o_target, $(OBJS))
30
31 #########################################################################
32
33 # defines $(obj).depend target
34 include $(SRCTREE)/rules.mk
35
36 sinclude $(obj).depend
37
38 #########################################################################