]> git.ipfire.org Git - people/ms/u-boot.git/blame - drivers/net/fm/Makefile
powerpc/t1040qds: Add T1040QDS board
[people/ms/u-boot.git] / drivers / net / fm / Makefile
CommitLineData
c916d7c9
KG
1#
2# Copyright 2009-2011 Freescale Semiconductor, Inc.
3#
1a459660 4# SPDX-License-Identifier: GPL-2.0+
c916d7c9
KG
5#
6
7include $(TOPDIR)/config.mk
8
9LIB := $(obj)libfm.o
10
11ifdef CONFIG_FMAN_ENET
12COBJS-y += dtsec.o
13COBJS-y += eth.o
14COBJS-y += fm.o
15COBJS-y += init.o
16COBJS-y += tgec.o
17COBJS-y += tgec_phy.o
18
111fd19e
RZ
19# Soc have FMAN v3 with mEMAC
20COBJS-$(CONFIG_SYS_FMAN_V3) += memac_phy.o
21COBJS-$(CONFIG_SYS_FMAN_V3) += memac.o
22
c916d7c9
KG
23# SoC specific SERDES support
24COBJS-$(CONFIG_P1017) += p1023.o
25COBJS-$(CONFIG_P1023) += p1023.o
26# The P204x, P304x, and P5020 are the same
c916d7c9
KG
27COBJS-$(CONFIG_PPC_P2041) += p5020.o
28COBJS-$(CONFIG_PPC_P3041) += p5020.o
29COBJS-$(CONFIG_PPC_P4080) += p4080.o
30COBJS-$(CONFIG_PPC_P5020) += p5020.o
d31e53b4 31COBJS-$(CONFIG_PPC_P5040) += p5040.o
7d436078 32COBJS-$(CONFIG_PPC_T1040) += t1040.o
9e758758 33COBJS-$(CONFIG_PPC_T4240) += t4240.o
b6240846 34COBJS-$(CONFIG_PPC_T4160) += t4240.o
e1dbdd81 35COBJS-$(CONFIG_PPC_B4420) += b4860.o
d2404141 36COBJS-$(CONFIG_PPC_B4860) += b4860.o
c916d7c9
KG
37endif
38
39COBJS := $(COBJS-y)
40SRCS := $(COBJS:.o=.c)
41OBJS := $(addprefix $(obj),$(COBJS))
42
43all: $(LIB)
44
45$(LIB): $(obj).depend $(OBJS)
46 $(call cmd_link_o_target, $(OBJS))
47
48#########################################################################
49
50include $(SRCTREE)/rules.mk
51
52sinclude $(obj).depend
53
54#########################################################################