2007-08-27 01:12:17 +02:00
|
|
|
############################################################################
|
2021-03-08 22:29:12 +01:00
|
|
|
# net/devif/Make.defs
|
2007-08-27 01:12:17 +02:00
|
|
|
#
|
2021-02-19 12:45:37 +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-08-27 01:12:17 +02:00
|
|
|
#
|
2021-02-19 12:45:37 +01:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2007-08-27 01:12:17 +02:00
|
|
|
#
|
2021-02-19 12:45:37 +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-08-27 01:12:17 +02:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2014-06-29 02:07:02 +02:00
|
|
|
# Network device interface source files
|
2007-11-07 19:54:35 +01:00
|
|
|
|
2017-08-07 21:03:23 +02:00
|
|
|
NET_CSRCS += devif_initialize.c devif_send.c devif_poll.c devif_callback.c
|
2018-08-25 16:36:02 +02:00
|
|
|
NET_CSRCS += devif_loopback.c
|
2015-01-15 15:03:56 +01:00
|
|
|
|
|
|
|
# Device driver IP packet receipt interfaces
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_NET_IPv4),y)
|
|
|
|
NET_CSRCS += ipv4_input.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_NET_IPv6),y)
|
|
|
|
NET_CSRCS += ipv6_input.c
|
|
|
|
endif
|
2011-03-12 16:36:28 +01:00
|
|
|
|
2017-07-08 02:33:06 +02:00
|
|
|
# IP forwarding
|
|
|
|
|
2017-07-04 18:19:52 +02:00
|
|
|
ifeq ($(CONFIG_NET_IPFORWARD),y)
|
2017-07-08 02:33:06 +02:00
|
|
|
NET_CSRCS += devif_forward.c
|
2017-07-04 18:19:52 +02:00
|
|
|
endif
|
|
|
|
|
2014-06-22 19:27:57 +02:00
|
|
|
# I/O buffer chain support required?
|
|
|
|
|
2017-05-09 15:34:59 +02:00
|
|
|
ifeq ($(CONFIG_MM_IOB),y)
|
2014-06-29 02:07:02 +02:00
|
|
|
NET_CSRCS += devif_iobsend.c
|
2014-06-22 19:27:57 +02:00
|
|
|
endif
|
|
|
|
|
2014-06-24 03:25:16 +02:00
|
|
|
# Raw packet socket support
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_NET_PKT),y)
|
2014-06-29 02:07:02 +02:00
|
|
|
NET_CSRCS += devif_pktsend.c
|
2014-06-24 03:25:16 +02:00
|
|
|
endif
|
|
|
|
|
2020-06-15 10:23:25 +02:00
|
|
|
ifeq ($(CONFIG_NET_CAN),y)
|
|
|
|
NET_CSRCS += devif_cansend.c
|
|
|
|
endif
|
|
|
|
|
2014-06-29 02:07:02 +02:00
|
|
|
# Include network device interface build support
|
2014-05-30 19:14:06 +02:00
|
|
|
|
2014-06-29 02:07:02 +02:00
|
|
|
DEPPATH += --dep-path devif
|
|
|
|
VPATH += :devif
|