Skip to content

Commit d335904

Browse files
committed
zephyr/Makefile.zephyr: Support and default to networked (SLIP) QEMU.
Also works for non-networked builds (like minimal).
1 parent 10dbf23 commit d335904

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

zephyr/Makefile.zephyr

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ KERNEL_TYPE = micro
1818
# BOARD must be passed on command line from main Makefile
1919
#BOARD =
2020
CONF_FILE = prj.conf
21+
QEMU_NET = 1
2122

2223
#export SOURCE_DIR = $(ZEPHYR_BASE)/samples/static_lib/hello_world
2324
export LDFLAGS_zephyr += -L$(CURDIR)
2425
export ALL_LIBS += micropython
2526

2627
include ${ZEPHYR_BASE}/Makefile.inc
28+
ifeq ($(QEMU_NET), 1)
29+
include ${ZEPHYR_BASE}/samples/net/common/Makefile.ipstack
30+
endif

0 commit comments

Comments
 (0)