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