The example source code is POSIX-compatible (modulo include files), i.e. can be built and behaves the same way for Zephyr and a POSIX system (e.g. Linux). Makefile.posix is available for the latter. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
18 lines
376 B
Makefile
18 lines
376 B
Makefile
# Makefile - simple socket-based echo server
|
|
|
|
#
|
|
# Copyright (c) 2017 Linaro Limited
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
BOARD ?= qemu_x86
|
|
CONF_FILE ?= prj_$(BOARD).conf
|
|
|
|
include $(ZEPHYR_BASE)/Makefile.inc
|
|
|
|
ifeq ($(CONFIG_NET_L2_BLUETOOTH), y)
|
|
QEMU_EXTRA_FLAGS = -serial unix:/tmp/bt-server-bredr
|
|
else
|
|
include $(ZEPHYR_BASE)/samples/net/common/Makefile.ipstack
|
|
endif
|