]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/arm920t/s3c24x0/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / arm / cpu / arm920t / s3c24x0 / Makefile
1 #
2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 include $(TOPDIR)/config.mk
9
10 LIB     = $(obj)lib$(SOC).o
11
12 COBJS-$(CONFIG_USE_IRQ) += interrupts.o
13 COBJS-$(CONFIG_DISPLAY_CPUINFO) += cpu_info.o
14 COBJS-y += speed.o
15 COBJS-y += timer.o
16
17 SRCS    := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
18 OBJS    := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
19
20 all:    $(obj).depend $(LIB)
21
22 $(LIB): $(OBJS)
23         $(call cmd_link_o_target, $(OBJS))
24
25 #########################################################################
26
27 # defines $(obj).depend target
28 include $(SRCTREE)/rules.mk
29
30 sinclude $(obj).depend
31
32 #########################################################################