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