]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/x86/cpu/Makefile
blackfin: Move machine specific gpio_port_t structure back to blackfin arch folder.
[karo-tx-uboot.git] / arch / x86 / cpu / Makefile
1 #
2 # (C) Copyright 2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # (C) Copyright 2002
6 # Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
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-y = start.o
16 START-$(CONFIG_X86_RESET_VECTOR) += resetvec.o start16.o
17 COBJS   = interrupts.o cpu.o
18
19 SRCS    := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
20 OBJS    := $(addprefix $(obj),$(SOBJS) $(COBJS))
21 START   := $(addprefix $(obj),$(START-y))
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 #########################################################################