config BR2_PACKAGE_MICROPYTHON
	bool "micropython"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on !BR2_STATIC_LIBS
	help
	  Micro Python is a lean and fast implementation of the Python
	  3 programming language that is optimised to run on a
	  microcontroller.

	  http://micropython.org

if BR2_PACKAGE_MICROPYTHON

config BR2_PACKAGE_MICROPYTHON_LIB
	bool "micropython-lib"
	select BR2_PACKAGE_PCRE2 # runtime
	help
	  Core Python libraries ported to MicroPython.

endif # BR2_PACKAGE_MICROPYTHON

comment "micropython needs a toolchain w/ threads, dynamic library"
	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
