]>
git.ipfire.org Git - people/ms/u-boot.git/blob - net/Makefile
2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
8 include $(TOPDIR
)/config.mk
14 COBJS-
$(CONFIG_CMD_NET
) += arp.o
15 COBJS-
$(CONFIG_CMD_NET
) += bootp.o
16 COBJS-
$(CONFIG_CMD_CDP
) += cdp.o
17 COBJS-
$(CONFIG_CMD_DNS
) += dns.o
18 COBJS-
$(CONFIG_CMD_NET
) += eth.o
19 COBJS-
$(CONFIG_CMD_LINK_LOCAL
) += link_local.o
20 COBJS-
$(CONFIG_CMD_NET
) += net.o
21 COBJS-
$(CONFIG_CMD_NFS
) += nfs.o
22 COBJS-
$(CONFIG_CMD_PING
) += ping.o
23 COBJS-
$(CONFIG_CMD_RARP
) += rarp.o
24 COBJS-
$(CONFIG_CMD_SNTP
) += sntp.o
25 COBJS-
$(CONFIG_CMD_NET
) += tftp.o
27 COBJS
:= $(sort $(COBJS-y
))
28 SRCS
:= $(COBJS
:.o
=.c
)
29 OBJS
:= $(addprefix $(obj
),$(COBJS
))
33 $(LIB
): $(obj
).depend
$(OBJS
)
34 $(call cmd_link_o_target
, $(OBJS
))
36 #########################################################################
38 # defines $(obj).depend target
39 include $(SRCTREE
)/rules.mk
41 sinclude
$(obj
).depend
43 #########################################################################