2011-04-20 15:32:49 +02:00
|
|
|
############################################################################
|
|
|
|
# drivers/wireless/Make.defs
|
|
|
|
#
|
2021-03-04 07:10:42 +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
|
2011-04-20 15:32:49 +02:00
|
|
|
#
|
2021-03-04 07:10:42 +01:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2011-04-20 15:32:49 +02:00
|
|
|
#
|
2021-03-04 07:10:42 +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.
|
2011-04-20 15:32:49 +02:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2016-02-26 23:50:26 +01:00
|
|
|
ifeq ($(CONFIG_DRIVERS_WIRELESS),y)
|
2011-05-16 17:09:39 +02:00
|
|
|
|
2016-02-26 22:03:16 +01:00
|
|
|
# Include IEEE 802.15.4 support
|
|
|
|
|
2016-02-27 00:27:58 +01:00
|
|
|
ifeq ($(CONFIG_DRIVERS_IEEE802154),y)
|
2020-05-20 19:11:16 +02:00
|
|
|
include wireless/ieee802154/Make.defs
|
2016-02-26 22:03:16 +01:00
|
|
|
endif
|
|
|
|
|
2017-03-12 16:48:09 +01:00
|
|
|
# Include IEEE 802.11 support
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_DRIVERS_IEEE80211),y)
|
2020-05-20 19:11:16 +02:00
|
|
|
include wireless/ieee80211/Make.defs
|
2017-03-12 16:48:09 +01:00
|
|
|
endif
|
|
|
|
|
2018-03-30 02:36:03 +02:00
|
|
|
# Include Bluetooth support
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_DRIVERS_BLUETOOTH),y)
|
2020-05-20 19:11:16 +02:00
|
|
|
include wireless/bluetooth/Make.defs
|
2018-03-30 02:36:03 +02:00
|
|
|
endif
|
|
|
|
|
2019-01-20 14:03:11 +01:00
|
|
|
# Include LPWAN support
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_DRIVERS_LPWAN),y)
|
2020-05-20 19:11:16 +02:00
|
|
|
include wireless/lpwan/Make.defs
|
2019-01-20 14:03:11 +01:00
|
|
|
endif
|
|
|
|
|
2011-05-16 17:09:39 +02:00
|
|
|
# Include wireless drivers
|
|
|
|
|
2013-06-01 16:03:55 +02:00
|
|
|
ifeq ($(CONFIG_WL_CC1101),y)
|
2011-05-16 17:09:39 +02:00
|
|
|
CSRCS += cc1101.c ISM1_868MHzGFSK100kbps.c ISM2_905MHzGFSK250kbps.c
|
2018-03-03 15:53:51 +01:00
|
|
|
CSRCS += ISM2_433MHzMSK500kbps.c
|
2013-06-01 16:03:55 +02:00
|
|
|
endif
|
|
|
|
|
2019-06-18 14:44:03 +02:00
|
|
|
ifeq ($(CONFIG_WL_GS2200M),y)
|
|
|
|
CSRCS += gs2200m.c
|
|
|
|
endif
|
|
|
|
|
2017-07-25 00:46:30 +02:00
|
|
|
ifeq ($(CONFIG_WL_SPIRIT),y)
|
2020-05-20 19:11:16 +02:00
|
|
|
include wireless/spirit/Make.defs
|
2017-07-25 00:46:30 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_WL_NRF24L01),y)
|
|
|
|
CSRCS += nrf24l01.c
|
|
|
|
endif
|
|
|
|
|
2013-06-01 16:03:55 +02:00
|
|
|
# Include wireless devices build support
|
2011-05-16 17:09:39 +02:00
|
|
|
|
2013-06-01 16:03:55 +02:00
|
|
|
DEPPATH += --dep-path wireless
|
|
|
|
VPATH += :wireless
|
2020-03-26 04:51:22 +01:00
|
|
|
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)wireless}
|
2011-04-20 15:32:49 +02:00
|
|
|
endif
|