2018-03-29 20:35:41 +02:00
|
|
|
############################################################################
|
|
|
|
# wireless/bluetooth/Make.defs
|
|
|
|
#
|
2024-09-11 09:04:25 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
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
|
2018-03-29 20:35:41 +02:00
|
|
|
#
|
2021-02-19 09:38:00 +01:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2018-03-29 20:35:41 +02: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.
|
2018-03-29 20:35:41 +02:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_WIRELESS_BLUETOOTH),y)
|
|
|
|
|
|
|
|
# Include Bluetooth support
|
|
|
|
|
2020-09-20 21:45:09 +02:00
|
|
|
CSRCS += bt_buf.c bt_netdev.c bt_queue.c bt_hcicore.c
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_WIRELESS_BLUETOOTH_HOST),y)
|
|
|
|
|
|
|
|
# Host-layer
|
|
|
|
|
|
|
|
CSRCS += bt_atomic.c bt_att.c bt_conn.c bt_gatt.c
|
|
|
|
CSRCS += bt_ioctl.c bt_keys.c bt_l2cap.c bt_smp.c
|
2023-06-03 04:47:14 +02:00
|
|
|
CSRCS += bt_uuid.c bt_services.c
|
2018-03-29 20:35:41 +02:00
|
|
|
|
2020-09-20 21:45:09 +02:00
|
|
|
endif
|
|
|
|
|
2018-03-29 20:35:41 +02:00
|
|
|
DEPPATH += --dep-path bluetooth
|
|
|
|
VPATH += :bluetooth
|
2022-11-01 14:47:53 +01:00
|
|
|
CFLAGS += ${INCDIR_PREFIX}$(TOPDIR)$(DELIM)wireless$(DELIM)bluetooth
|
2018-03-29 20:35:41 +02:00
|
|
|
|
|
|
|
endif # CONFIG_WIRELESS_BLUETOOTH
|