]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/powerpc/cpu/mpc512x/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / powerpc / cpu / mpc512x / Makefile
CommitLineData
8993e54b 1#
03e069dc 2# (C) Copyright 2007-2009 DENX Software Engineering
8993e54b 3#
1a459660 4# SPDX-License-Identifier: GPL-2.0+
8993e54b
RJ
5#
6
7include $(TOPDIR)/config.mk
8
de26ef99
WD
9$(shell mkdir -p $(OBJTREE)/board/freescale/common)
10
6d8962e8 11LIB = $(obj)lib$(CPU).o
8993e54b
RJ
12
13START = start.o
7629f1c0
WD
14COBJS-y := cpu.o
15COBJS-y += traps.o
16COBJS-y += cpu_init.o
17COBJS-y += fixed_sdram.o
18COBJS-y += i2c.o
19COBJS-y += interrupts.o
20COBJS-y += iopin.o
21COBJS-y += serial.o
22COBJS-y += speed.o
6ece2550 23COBJS-$(CONFIG_FSL_DIU_FB) += diu.o
6ece2550 24COBJS-$(CONFIG_CMD_IDE) += ide.o
de26ef99 25COBJS-$(CONFIG_PCI) += pci.o
8993e54b 26
25315683
MV
27# Stub implementations of cache management functions for USB
28COBJS-$(CONFIG_USB_EHCI) += cache.o
29
03e069dc 30COBJS := $(COBJS-y)
8993e54b
RJ
31SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
32OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
33START := $(addprefix $(obj),$(START))
34
35all: $(obj).depend $(START) $(LIB)
36
37$(LIB): $(OBJS)
6d8962e8 38 $(call cmd_link_o_target, $(OBJS))
8993e54b
RJ
39
40#########################################################################
41
42# defines $(obj).depend target
43include $(SRCTREE)/rules.mk
44
45sinclude $(obj).depend
46
47#########################################################################