]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/xes/common/Makefile
blackfin: Move machine specific gpio_port_t structure back to blackfin arch folder.
[karo-tx-uboot.git] / board / xes / common / Makefile
1 #
2 # (C) Copyright 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 ifneq ($(OBJTREE),$(SRCTREE))
11 $(shell mkdir -p $(obj)board/$(VENDOR)/common)
12 endif
13
14 LIB     = $(obj)lib$(VENDOR).o
15
16 COBJS-$(CONFIG_FSL_PCI_INIT)    += fsl_8xxx_pci.o
17 COBJS-$(CONFIG_MPC8572)         += fsl_8xxx_clk.o
18 COBJS-$(CONFIG_MPC86xx)         += fsl_8xxx_clk.o
19 COBJS-$(CONFIG_P2020)           += fsl_8xxx_clk.o
20 COBJS-$(CONFIG_MPC85xx)         += fsl_8xxx_misc.o board.o
21 COBJS-$(CONFIG_MPC86xx)         += fsl_8xxx_misc.o board.o
22 COBJS-$(CONFIG_NAND_ACTL)       += actl_nand.o
23
24 SRCS    := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
25 OBJS    := $(addprefix $(obj),$(COBJS-y))
26 SOBJS   := $(addprefix $(obj),$(SOBJS))
27
28 $(LIB): $(obj).depend $(OBJS)
29         $(call cmd_link_o_target, $(OBJS))
30
31 #########################################################################
32
33 # defines $(obj).depend target
34 include $(SRCTREE)/rules.mk
35
36 sinclude $(obj).depend
37
38 #########################################################################