]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/x86/cpu/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / x86 / cpu / Makefile
CommitLineData
2262cfee 1#
f9328639
MB
2# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
511d0c72 4#
2262cfee 5# (C) Copyright 2002
fa82f871 6# Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
2262cfee 7#
1a459660 8# SPDX-License-Identifier: GPL-2.0+
2262cfee
WD
9#
10
11include $(TOPDIR)/config.mk
12
6d8962e8 13LIB = $(obj)lib$(CPU).o
2262cfee 14
b16f521a 15START-y = start.o
588a13f7 16START-$(CONFIG_X86_RESET_VECTOR) += resetvec.o start16.o
29756d44 17COBJS = interrupts.o cpu.o
8bde7f77 18
f9328639
MB
19SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
20OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
588a13f7 21START := $(addprefix $(obj),$(START-y))
2262cfee 22
f9328639
MB
23all: $(obj).depend $(START) $(LIB)
24
25$(LIB): $(OBJS)
6d8962e8 26 $(call cmd_link_o_target, $(OBJS))
2262cfee
WD
27
28#########################################################################
29
f9328639
MB
30# defines $(obj).depend target
31include $(SRCTREE)/rules.mk
2262cfee 32
f9328639 33sinclude $(obj).depend
2262cfee
WD
34
35#########################################################################