]> git.ipfire.org Git - people/ms/u-boot.git/blob - board/freescale/t4qds/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / board / freescale / t4qds / Makefile
1 #
2 # Copyright 2012 Freescale Semiconductor, Inc.
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-y += $(BOARD).o
12 COBJS-y += ddr.o
13 COBJS-$(CONFIG_T4240QDS)+= eth.o
14 COBJS-$(CONFIG_PCI) += pci.o
15 COBJS-y += law.o
16 COBJS-y += tlb.o
17
18 SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
19 OBJS := $(addprefix $(obj),$(COBJS-y))
20 SOBJS := $(addprefix $(obj),$(SOBJS))
21
22 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
23 $(call cmd_link_o_target, $(OBJS))
24
25 clean:
26 rm -f $(OBJS) $(SOBJS)
27
28 distclean: clean
29 rm -f $(LIB) core *.bak .depend
30
31 #########################################################################
32
33 # defines $(obj).depend target
34 include $(SRCTREE)/rules.mk
35
36 sinclude $(obj).depend
37
38 #########################################################################