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
|
|
|
#
|
2024-09-11 14:39:39 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
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
|
|
|
|
2022-11-23 12:39:40 +01:00
|
|
|
NET_CSRCS += devif_initialize.c devif_callback.c
|
2015-01-15 15:03:56 +01:00
|
|
|
|
|
|
|
# Device driver IP packet receipt interfaces
|
|
|
|
|
2022-11-23 12:39:40 +01:00
|
|
|
ifeq ($(CONFIG_MM_IOB),y)
|
2015-01-15 15:03:56 +01:00
|
|
|
|
2022-11-23 12:39:40 +01:00
|
|
|
# IP packet
|
2011-03-12 16:36:28 +01:00
|
|
|
|
2022-11-23 12:39:40 +01:00
|
|
|
NET_CSRCS += devif_send.c devif_loopback.c
|
2017-07-08 02:33:06 +02:00
|
|
|
|
2022-11-23 12:39:40 +01:00
|
|
|
ifeq ($(CONFIG_NET_IPv4),y)
|
|
|
|
NET_CSRCS += ipv4_input.c
|
|
|
|
endif
|
2017-07-04 18:19:52 +02:00
|
|
|
|
2022-11-23 12:39:40 +01:00
|
|
|
ifeq ($(CONFIG_NET_IPv6),y)
|
|
|
|
NET_CSRCS += ipv6_input.c
|
|
|
|
endif
|
2014-06-22 19:27:57 +02:00
|
|
|
|
2022-11-23 12:39:40 +01:00
|
|
|
# IP forwarding
|
2014-06-22 19:27:57 +02:00
|
|
|
|
2022-11-23 12:39:40 +01:00
|
|
|
ifeq ($(CONFIG_NET_IPFORWARD),y)
|
|
|
|
NET_CSRCS += devif_forward.c
|
|
|
|
endif
|
2014-06-24 03:25:16 +02:00
|
|
|
|
2022-11-23 12:39:40 +01:00
|
|
|
# I/O buffer chain support required?
|
|
|
|
|
|
|
|
NET_CSRCS += devif_poll.c
|
|
|
|
NET_CSRCS += devif_iobsend.c
|
2023-02-13 07:46:54 +01:00
|
|
|
NET_CSRCS += devif_filesend.c
|
2022-11-23 12:39:40 +01:00
|
|
|
|
2020-06-15 10:23:25 +02:00
|
|
|
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
|