]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/powerpc/cpu/74xx_7xx/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / powerpc / cpu / 74xx_7xx / Makefile
1 #
2 # (C) Copyright 2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # (C) Copyright 2001
6 # Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
7 #
8 # SPDX-License-Identifier:      GPL-2.0+
9 #
10
11 include $(TOPDIR)/config.mk
12
13 LIB     = $(obj)lib$(CPU).o
14
15 START   = start.o
16 SOBJS   = cache.o kgdb.o io.o
17 COBJS   = traps.o cpu.o cpu_init.o speed.o interrupts.o
18
19 SRCS    := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
20 OBJS    := $(addprefix $(obj),$(SOBJS) $(COBJS))
21 START   := $(addprefix $(obj),$(START))
22
23 all:    $(obj).depend $(START) $(LIB)
24
25 $(LIB): $(OBJS)
26         $(call cmd_link_o_target, $(OBJS))
27
28 #########################################################################
29
30 # defines $(obj).depend target
31 include $(SRCTREE)/rules.mk
32
33 sinclude $(obj).depend
34
35 #########################################################################