net: samples: Fix the BT compilation in sample API

The CFLAGS and object path were set incorrectly for Bluetooth.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2017-05-10 15:59:44 +03:00 committed by Anas Nashif
commit 19868313fc

View file

@ -7,8 +7,8 @@
# Common routines used in net samples
ifeq ($(CONFIG_NET_L2_BLUETOOTH), y)
CFLAGS +=-I${ZEPHYR_BASE}/samples/bluetooth/
obj-y += ../bluetooth/gatt/ipss.o
ccflags-y += -I${ZEPHYR_BASE}/samples/bluetooth/
obj-y += ../../../bluetooth/gatt/ipss.o
endif
ifeq ($(CONFIG_NET_L2_IEEE802154), y)