blob: 0dd7b485a29ca6708fce464ab35046deeab0a53f [file] [log] [blame]
#
# Copyright (c) 2017 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
# Common routines used in net samples
ifeq ($(CONFIG_BOARD_FRDM_K64F), y)
ifeq ($(CONFIG_IEEE802154_CC2520), y)
ccflags-y +=-I${ZEPHYR_BASE}/drivers/
ccflags-y +=-I${ZEPHYR_BASE}/include/drivers/
obj-y += ../../common/cc2520_frdm_k64f.o
endif
endif
ifeq ($(CONFIG_NET_TESTING), y)
ccflags-y +=-I${ZEPHYR_BASE}/samples/net/common/
ccflags-y +=-DNET_TESTING_SERVER=1
endif