2016-02-27 07:27:58 +08:00
|
|
|
############################################################################
|
2021-03-09 05:29:12 +08:00
|
|
|
# wireless/ieee802154/Make.defs
|
2016-02-27 07:27:58 +08:00
|
|
|
#
|
2024-09-11 15:04:25 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
2021-02-19 16:38:00 +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
|
2016-02-27 07:27:58 +08:00
|
|
|
#
|
2021-02-19 16:38:00 +08:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2016-02-27 07:27:58 +08:00
|
|
|
#
|
2021-02-19 16:38:00 +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.
|
2016-02-27 07:27:58 +08:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2017-03-13 02:50:41 +08:00
|
|
|
ifeq ($(CONFIG_WIRELESS_IEEE802154),y)
|
2016-02-27 07:27:58 +08:00
|
|
|
|
|
|
|
# Include IEEE 802.15.4 support
|
2017-03-29 04:30:46 +08:00
|
|
|
|
2017-11-02 04:15:21 +08:00
|
|
|
CSRCS += ieee802154_primitive.c
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_IEEE802154_MAC),y)
|
|
|
|
|
|
|
|
CSRCS += mac802154.c mac802154_assoc.c mac802154_disassoc.c
|
2017-06-14 14:49:27 +08:00
|
|
|
CSRCS += mac802154_bind.c mac802154_data.c mac802154_get_mhrlen.c
|
|
|
|
CSRCS += mac802154_getset.c mac802154_gts.c mac802154_ioctl.c
|
2017-11-02 04:15:21 +08:00
|
|
|
CSRCS += mac802154_orphan.c mac802154_poll.c mac802154_purge.c
|
|
|
|
CSRCS += mac802154_reset.c mac802154_rxenable.c mac802154_scan.c
|
|
|
|
CSRCS += mac802154_start.c mac802154_sync.c
|
2017-05-06 02:50:34 +08:00
|
|
|
|
2016-02-27 07:27:58 +08:00
|
|
|
# Include wireless devices build support
|
|
|
|
|
2017-06-18 22:53:31 +08:00
|
|
|
ifeq ($(CONFIG_IEEE802154_MACDEV),y)
|
2017-03-30 00:51:01 +08:00
|
|
|
CSRCS += mac802154_device.c
|
|
|
|
endif
|
|
|
|
|
2017-04-09 03:27:03 +08:00
|
|
|
ifeq ($(CONFIG_IEEE802154_NETDEV),y)
|
|
|
|
CSRCS += mac802154_netdev.c
|
|
|
|
endif
|
|
|
|
|
2017-11-02 04:15:21 +08:00
|
|
|
endif
|
|
|
|
|
2017-04-03 06:29:02 +08:00
|
|
|
ifeq ($(CONFIG_IEEE802154_LOOPBACK),y)
|
|
|
|
CSRCS += mac802154_loopback.c
|
|
|
|
endif
|
|
|
|
|
2017-03-29 04:58:18 +08:00
|
|
|
DEPPATH += --dep-path ieee802154
|
|
|
|
VPATH += :ieee802154
|
2022-11-01 21:47:53 +08:00
|
|
|
CFLAGS += ${INCDIR_PREFIX}$(TOPDIR)$(DELIM)wireless$(DELIM)ieee802154
|
2016-02-27 07:27:58 +08:00
|
|
|
|
2017-03-13 02:50:41 +08:00
|
|
|
endif # CONFIG_WIRELESS_IEEE802154
|