2014-06-29 01:42:34 +02:00
|
|
|
############################################################################
|
2015-01-16 23:49:48 +01:00
|
|
|
# net/neighbor/Make.defs
|
2014-06-29 01:42:34 +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
|
2014-06-29 01:42:34 +02:00
|
|
|
#
|
2021-02-19 12:45:37 +01:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2014-06-29 01:42:34 +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-06-29 01:42:34 +02:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2015-01-16 23:49:48 +01:00
|
|
|
# Logic specific to IPv6 Neighbor Discovery Protocol
|
2014-06-29 01:42:34 +02:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_NET_IPv6),y)
|
|
|
|
|
2018-11-09 21:08:18 +01:00
|
|
|
NET_CSRCS += neighbor_globals.c neighbor_add.c neighbor_lookup.c
|
2018-11-09 21:21:49 +01:00
|
|
|
NET_CSRCS += neighbor_update.c neighbor_findentry.c neighbor_out.c
|
2017-03-31 19:15:16 +02:00
|
|
|
|
|
|
|
# Link layer specific support
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_NET_ETHERNET),y)
|
|
|
|
NET_CSRCS += neighbor_ethernet_out.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_NET_6LOWPAN),y)
|
|
|
|
# NET_CSRCS += neighbor_6lowpan_out.c
|
|
|
|
endif
|
2014-06-29 01:42:34 +02:00
|
|
|
|
2017-07-06 21:36:59 +02:00
|
|
|
ifeq ($(CONFIG_DEBUG_NET_INFO),y)
|
|
|
|
NET_CSRCS += neighbor_dumpentry.c
|
|
|
|
endif
|
|
|
|
|
2019-11-08 18:15:16 +01:00
|
|
|
ifeq ($(CONFIG_NETLINK_ROUTE),y)
|
|
|
|
NET_CSRCS += neighbor_snapshot.c
|
|
|
|
endif
|
|
|
|
|
2014-06-29 01:42:34 +02:00
|
|
|
# Include utility build support
|
|
|
|
|
2015-01-16 23:49:48 +01:00
|
|
|
DEPPATH += --dep-path neighbor
|
|
|
|
VPATH += :neighbor
|
2014-06-29 01:42:34 +02:00
|
|
|
endif
|