The network application API is a higher level API for creating client and server type applications. Instead of applications dealing with low level details, the network application API provides services that most of the applications can use directly. This commit removes the internal net_sample_*() API and converts the existing users of it to use the new net_app API. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
20 lines
478 B
Makefile
20 lines
478 B
Makefile
#
|
|
# Copyright (c) 2017 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
ccflags-$(CONFIG_NET_L2_BLUETOOTH) += -I${ZEPHYR_BASE}/samples/bluetooth/
|
|
ccflags-$(CONFIG_NET_L2_IEEE802154) += -I${ZEPHYR_BASE}/samples/net/common/
|
|
|
|
obj-$(CONFIG_NET_APP) += init.o
|
|
obj-$(CONFIG_NET_APP_SERVER) += server.o
|
|
obj-$(CONFIG_NET_APP_CLIENT) += client.o
|
|
|
|
ifeq ($(CONFIG_NET_APP_SERVER),y)
|
|
obj-y += net_app.o
|
|
else
|
|
ifeq ($(CONFIG_NET_APP_CLIENT),y)
|
|
obj-y += net_app.o
|
|
endif
|
|
endif
|