2016-02-27 00:27:58 +01:00
|
|
|
############################################################################
|
|
|
|
# wireless/ieee802145/Make.defs
|
|
|
|
#
|
2021-02-19 09:38:00 +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
|
2016-02-27 00:27:58 +01:00
|
|
|
#
|
2021-02-19 09:38:00 +01:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2016-02-27 00:27:58 +01:00
|
|
|
#
|
2021-02-19 09:38:00 +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.
|
2016-02-27 00:27:58 +01:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2017-03-12 19:50:41 +01:00
|
|
|
ifeq ($(CONFIG_WIRELESS_IEEE802154),y)
|
2016-02-27 00:27:58 +01:00
|
|
|
|
|
|
|
# Include IEEE 802.15.4 support
|
2017-03-28 22:30:46 +02:00
|
|
|
|
2017-11-01 21:15:21 +01:00
|
|
|
CSRCS += ieee802154_primitive.c
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_IEEE802154_MAC),y)
|
|
|
|
|
|
|
|
CSRCS += mac802154.c mac802154_assoc.c mac802154_disassoc.c
|
2017-06-14 08:49:27 +02:00
|
|
|
CSRCS += mac802154_bind.c mac802154_data.c mac802154_get_mhrlen.c
|
|
|
|
CSRCS += mac802154_getset.c mac802154_gts.c mac802154_ioctl.c
|
2017-11-01 21:15:21 +01: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-05 20:50:34 +02:00
|
|
|
|
2016-02-27 00:27:58 +01:00
|
|
|
# Include wireless devices build support
|
|
|
|
|
2017-06-18 16:53:31 +02:00
|
|
|
ifeq ($(CONFIG_IEEE802154_MACDEV),y)
|
2017-03-29 18:51:01 +02:00
|
|
|
CSRCS += mac802154_device.c
|
|
|
|
endif
|
|
|
|
|
2017-04-08 21:27:03 +02:00
|
|
|
ifeq ($(CONFIG_IEEE802154_NETDEV),y)
|
|
|
|
CSRCS += mac802154_netdev.c
|
|
|
|
endif
|
|
|
|
|
2017-11-01 21:15:21 +01:00
|
|
|
endif
|
|
|
|
|
2017-04-03 00:29:02 +02:00
|
|
|
ifeq ($(CONFIG_IEEE802154_LOOPBACK),y)
|
|
|
|
CSRCS += mac802154_loopback.c
|
|
|
|
endif
|
|
|
|
|
2017-03-28 22:58:18 +02:00
|
|
|
DEPPATH += --dep-path ieee802154
|
|
|
|
VPATH += :ieee802154
|
2020-03-26 04:51:22 +01:00
|
|
|
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)wireless$(DELIM)ieee802154}
|
2016-02-27 00:27:58 +01:00
|
|
|
|
2017-03-12 19:50:41 +01:00
|
|
|
endif # CONFIG_WIRELESS_IEEE802154
|