Separate setup for different low level bearer. By default the Makefile will create version suitable for qemu testing using slip. If one writes "make NET_IFACE=802154" then IEEE 802.15.4 radio specific settings are activated. Because echo-client does not contain any processor specific settings, remove the ARM config files and rename the x86 specific ones. Change-Id: I0608b6172bdd044dd49dedf86477ef8a31391a23 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
28 lines
902 B
Makefile
28 lines
902 B
Makefile
# Makefile - echo client test application
|
|
|
|
#
|
|
# Copyright (c) 2015 Intel Corporation
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
NET_IFACE ?= slip
|
|
MDEF_FILE = prj.mdef
|
|
KERNEL_TYPE = micro
|
|
BOARD ?= qemu_x86
|
|
CONF_FILE = prj_$(NET_IFACE).conf
|
|
SOURCE_DIR = $(ZEPHYR_BASE)/samples/net/echo_client/src/
|
|
|
|
include $(ZEPHYR_BASE)/Makefile.inc
|
|
include $(ZEPHYR_BASE)/samples/net/echo_server/Makefile.ipstack
|