diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-16 03:28:58 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-16 03:28:58 +0300 |
commit | acaa30b6046d449f5f58a8f02c83459702759df7 (patch) | |
tree | 6bed6ebc136e1979286eeb5aa02a783c6f24a9f7 | |
parent | f469c764428230363a2b22fedf303d86eea82853 (diff) | |
download | micropython-acaa30b6046d449f5f58a8f02c83459702759df7.tar.gz micropython-acaa30b6046d449f5f58a8f02c83459702759df7.zip |
unix: Deprecate support for GNU Readline (MICROPY_USE_READLINE=2).
MicroPython own readline implementation is superior now by providing
automatic indentation and completion (completion for GNU Readline was
never implemented). MICROPY_USE_READLINE=2 also wasn't build for a long
time and probably broken.
If GNU Readline is still beneficial for some cases, it can be achieved
with external wrappers like "rlwrap" (there will be the same level of
functionality, as again, there never was deep integration, like completion
support).
-rw-r--r-- | unix/Makefile | 6 | ||||
-rw-r--r-- | unix/mpconfigport.mk | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/unix/Makefile b/unix/Makefile index 96a8df21b6..566c7a372b 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -85,12 +85,6 @@ INC += -I../lib/mp-readline CFLAGS_MOD += -DMICROPY_USE_READLINE=1 LIB_SRC_C_EXTRA += mp-readline/readline.c endif -ifeq ($(MICROPY_USE_READLINE),2) -CFLAGS_MOD += -DMICROPY_USE_READLINE=2 -LDFLAGS_MOD += -lreadline -# the following is needed for BSD -#LDFLAGS_MOD += -ltermcap -endif ifeq ($(MICROPY_PY_TIME),1) CFLAGS_MOD += -DMICROPY_PY_TIME=1 SRC_MOD += modtime.c diff --git a/unix/mpconfigport.mk b/unix/mpconfigport.mk index ba0341f20e..ed88143ac5 100644 --- a/unix/mpconfigport.mk +++ b/unix/mpconfigport.mk @@ -6,7 +6,6 @@ MICROPY_FORCE_32BIT = 0 # This variable can take the following values: # 0 - no readline, just simple input # 1 - use MicroPython version of readline -# 2 - use GNU readline (causes binary to be licensed under GPL) MICROPY_USE_READLINE = 1 # Whether to enable FatFs VFS |