mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
zephyr/Makefile.zephyr: Support and default to networked (SLIP) QEMU.
Also works for non-networked builds (like minimal).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user