net: samples: Fix microkernel echo-server and echo-client

The echo-server and echo-client samples did not compile correctly
if one wanted them to work correctly using "make server" and
"make client" commands.

Change-Id: I955c6cc23c3192fcb1dfcfbda7df53050a71501f
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2016-01-29 17:00:17 +02:00 committed by Anas Nashif
commit 17856bb9a7
2 changed files with 2 additions and 3 deletions

View file

@ -22,6 +22,5 @@ BOARD ?= qemu_x86
CONF_FILE = prj_$(ARCH).conf CONF_FILE = prj_$(ARCH).conf
SOURCE_DIR = $(ZEPHYR_BASE)/samples/net/echo_client/src/ SOURCE_DIR = $(ZEPHYR_BASE)/samples/net/echo_client/src/
QEMU_EXTRA_FLAGS = -serial none -serial unix:/tmp/slip.sock
include $(ZEPHYR_BASE)/Makefile.inc include $(ZEPHYR_BASE)/Makefile.inc
include $(ZEPHYR_BASE)/samples/net/echo_server/Makefile.ipstack

View file

@ -22,6 +22,6 @@ KERNEL_TYPE = micro
BOARD ?= qemu_x86 BOARD ?= qemu_x86
CONF_FILE = prj_$(ARCH)_$(NET_INTF).conf CONF_FILE = prj_$(ARCH)_$(NET_INTF).conf
SOURCE_DIR = $(ZEPHYR_BASE)/samples/net/echo_server/src/ SOURCE_DIR = $(ZEPHYR_BASE)/samples/net/echo_server/src/
QEMU_EXTRA_FLAGS = -serial unix:/tmp/slip.sock
include $(ZEPHYR_BASE)/Makefile.inc include $(ZEPHYR_BASE)/Makefile.inc
include $(ZEPHYR_BASE)/samples/net/echo_server/Makefile.ipstack