2014-05-30 22:32:00 +02:00
|
|
|
############################################################################
|
|
|
|
# net/arp/Make.defs
|
|
|
|
#
|
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
|
2014-05-30 22:32:00 +02:00
|
|
|
#
|
2021-02-19 12:45:37 +01:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2014-05-30 22:32:00 +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.
|
2014-05-30 22:32:00 +02:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2014-11-15 01:25:33 +01:00
|
|
|
# ARP support is available for Ethernet only
|
2014-05-30 22:32:00 +02:00
|
|
|
|
2015-01-14 21:26:50 +01:00
|
|
|
ifeq ($(CONFIG_NET_ARP),y)
|
2022-12-04 08:01:53 +01:00
|
|
|
NET_CSRCS += arp_input.c arp_out.c arp_format.c arp_table.c
|
2014-08-18 19:36:39 +02:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_NET_ARP_IPIN),y)
|
|
|
|
NET_CSRCS += arp_ipin.c
|
|
|
|
endif
|
2014-05-30 22:32:00 +02:00
|
|
|
|
2014-08-18 22:29:02 +02:00
|
|
|
ifeq ($(CONFIG_NET_ARP_SEND),y)
|
2014-08-19 15:47:32 +02:00
|
|
|
NET_CSRCS += arp_send.c arp_poll.c arp_notify.c
|
2014-08-18 22:29:02 +02:00
|
|
|
endif
|
|
|
|
|
2014-08-18 19:08:15 +02:00
|
|
|
ifeq ($(CONFIG_NET_ARP_DUMP),y)
|
|
|
|
NET_CSRCS += arp_dump.c
|
|
|
|
endif
|
|
|
|
|
2024-01-22 03:20:46 +01:00
|
|
|
ifeq ($(CONFIG_NET_ARP_ACD),y)
|
|
|
|
NET_CSRCS += arp_acd.c
|
|
|
|
endif
|
|
|
|
|
2014-05-30 22:32:00 +02:00
|
|
|
# Include arp build support
|
|
|
|
|
|
|
|
DEPPATH += --dep-path arp
|
|
|
|
VPATH += :arp
|
|
|
|
|
2015-01-14 21:26:50 +01:00
|
|
|
endif # CONFIG_NET_ARP
|