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