2007-11-02 21:10:33 +01:00
|
|
|
############################################################################
|
|
|
|
# drivers/net/Make.defs
|
|
|
|
#
|
2021-03-04 07:10:42 +01:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
|
|
# this work for additional information regarding copyright ownership. The
|
|
|
|
# ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance with the
|
|
|
|
# License. You may obtain a copy of the License at
|
2007-11-02 21:10:33 +01:00
|
|
|
#
|
2021-03-04 07:10:42 +01:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2007-11-02 21:10:33 +01:00
|
|
|
#
|
2021-03-04 07:10:42 +01:00
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
# License for the specific language governing permissions and limitations
|
|
|
|
# under the License.
|
2007-11-02 21:10:33 +01:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2011-05-16 17:09:39 +02:00
|
|
|
# Include nothing if networking is disabled
|
2007-11-02 21:10:33 +01:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_NET),y)
|
2011-05-16 17:09:39 +02:00
|
|
|
|
|
|
|
# Include network interface drivers
|
|
|
|
|
2020-02-02 07:15:24 +01:00
|
|
|
ifeq ($(CONFIG_NET_LOOPBACK),y)
|
2015-08-24 19:03:36 +02:00
|
|
|
CSRCS += loopback.c
|
|
|
|
endif
|
|
|
|
|
2019-11-02 18:30:33 +01:00
|
|
|
ifeq ($(CONFIG_NET_RPMSG_DRV),y)
|
|
|
|
CSRCS += rpmsgdrv.c
|
|
|
|
endif
|
|
|
|
|
2015-12-07 16:26:57 +01:00
|
|
|
ifeq ($(CONFIG_NETDEV_TELNET),y)
|
|
|
|
CSRCS += telnet.c
|
|
|
|
endif
|
|
|
|
|
2007-11-02 21:10:33 +01:00
|
|
|
ifeq ($(CONFIG_NET_DM90x0),y)
|
2011-05-16 17:09:39 +02:00
|
|
|
CSRCS += dm90x0.c
|
2007-11-02 21:10:33 +01:00
|
|
|
endif
|
2011-05-16 17:09:39 +02:00
|
|
|
|
2012-09-11 18:50:16 +02:00
|
|
|
ifeq ($(CONFIG_ENC28J60),y)
|
2011-05-16 17:09:39 +02:00
|
|
|
CSRCS += enc28j60.c
|
2010-04-25 23:24:12 +02:00
|
|
|
endif
|
2011-05-16 17:09:39 +02:00
|
|
|
|
2013-08-25 19:21:54 +02:00
|
|
|
ifeq ($(CONFIG_ENCX24J600),y)
|
|
|
|
CSRCS += encx24j600.c
|
|
|
|
endif
|
|
|
|
|
2011-03-12 04:42:08 +01:00
|
|
|
ifeq ($(CONFIG_NET_SLIP),y)
|
2011-05-16 17:09:39 +02:00
|
|
|
CSRCS += slip.c
|
2011-03-12 04:42:08 +01:00
|
|
|
endif
|
2011-05-16 17:09:39 +02:00
|
|
|
|
2015-03-11 13:52:56 +01:00
|
|
|
ifeq ($(CONFIG_NET_TUN),y)
|
|
|
|
CSRCS += tun.c
|
|
|
|
endif
|
|
|
|
|
2015-07-29 23:57:58 +02:00
|
|
|
ifeq ($(CONFIG_NET_FTMAC100),y)
|
|
|
|
CSRCS += ftmac100.c
|
|
|
|
endif
|
|
|
|
|
2018-08-24 19:07:07 +02:00
|
|
|
ifeq ($(CONFIG_NET_LAN91C111),y)
|
|
|
|
CSRCS += lan91c111.c
|
|
|
|
endif
|
|
|
|
|
2022-10-07 01:57:38 +02:00
|
|
|
ifeq ($(CONFIG_NET_SKELETON),y)
|
|
|
|
CSRCS += skeleton.c
|
|
|
|
endif
|
|
|
|
|
2022-05-31 12:46:49 +02:00
|
|
|
ifeq ($(CONFIG_NET_W5500),y)
|
|
|
|
CSRCS += w5500.c
|
|
|
|
endif
|
|
|
|
|
2014-08-16 20:56:02 +02:00
|
|
|
ifeq ($(CONFIG_ARCH_PHY_INTERRUPT),y)
|
|
|
|
CSRCS += phy_notify.c
|
|
|
|
endif
|
|
|
|
|
2011-05-16 17:09:39 +02:00
|
|
|
# Include network build support
|
|
|
|
|
|
|
|
DEPPATH += --dep-path net
|
|
|
|
VPATH += :net
|
2007-11-02 21:10:33 +01:00
|
|
|
endif
|