If cc2520 is not selected, then won't be any need for that part. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
21 lines
457 B
Makefile
21 lines
457 B
Makefile
#
|
|
# 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
|