]>
git.ipfire.org Git - thirdparty/u-boot.git/blob - arch/x86/cpu/Makefile
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6 # Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
8 # SPDX-License-Identifier: GPL-2.0+
11 include $(TOPDIR
)/config.mk
13 LIB
= $(obj
)lib
$(CPU
).o
16 START-
$(CONFIG_X86_RESET_VECTOR
) += resetvec.o start16.o
17 COBJS
= interrupts.o cpu.o
19 SRCS
:= $(START
:.o
=.S
) $(SOBJS
:.o
=.S
) $(COBJS
:.o
=.c
)
20 OBJS
:= $(addprefix $(obj
),$(SOBJS
) $(COBJS
))
21 START
:= $(addprefix $(obj
),$(START-y
))
23 all: $(obj
).depend
$(START
) $(LIB
)
26 $(call cmd_link_o_target
, $(OBJS
))
28 #########################################################################
30 # defines $(obj).depend target
31 include $(SRCTREE
)/rules.mk
33 sinclude
$(obj
).depend
35 #########################################################################