summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-01-30 21:27:29 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-01-30 21:27:29 +0300
commitd335904666c43f0cfe518de41245b969cfca81af (patch)
tree9ee52d4f62142cd315eb872ec6baece010e73fef
parent10dbf2383f14ad4cc9ddfd9e5b75492a219a7a6c (diff)
downloadmicropython-d335904666c43f0cfe518de41245b969cfca81af.tar.gz
micropython-d335904666c43f0cfe518de41245b969cfca81af.zip
zephyr/Makefile.zephyr: Support and default to networked (SLIP) QEMU.
Also works for non-networked builds (like minimal).
-rw-r--r--zephyr/Makefile.zephyr4
1 files changed, 4 insertions, 0 deletions
diff --git a/zephyr/Makefile.zephyr b/zephyr/Makefile.zephyr
index 214767bea9..16f0a9452f 100644
--- a/zephyr/Makefile.zephyr
+++ b/zephyr/Makefile.zephyr
@@ -18,9 +18,13 @@ KERNEL_TYPE = micro
# BOARD must be passed on command line from main Makefile
#BOARD =
CONF_FILE = prj.conf
+QEMU_NET = 1
#export SOURCE_DIR = $(ZEPHYR_BASE)/samples/static_lib/hello_world
export LDFLAGS_zephyr += -L$(CURDIR)
export ALL_LIBS += micropython
include ${ZEPHYR_BASE}/Makefile.inc
+ifeq ($(QEMU_NET), 1)
+include ${ZEPHYR_BASE}/samples/net/common/Makefile.ipstack
+endif