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