# | |
# Copyright (c) 2017 Intel Corporation | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
# Common routines used in net samples | |
ifeq ($(CONFIG_NET_L2_BLUETOOTH), y) | |
ccflags-y += -I${ZEPHYR_BASE}/samples/bluetooth/ | |
obj-y += ../../../bluetooth/gatt/ipss.o | |
endif | |
ifeq ($(CONFIG_NET_L2_IEEE802154), y) | |
ifeq ($(CONFIG_NET_APP_SETTINGS), y) | |
obj-y += ../../common/ieee802154_settings.o | |
endif | |
endif | |
ccflags-y += -I${ZEPHYR_BASE}/samples/net/common/ | |
obj-y += ../../common/sample_app_setup.o |