summaryrefslogtreecommitdiffstats
path: root/package/python/python.mk
diff options
context:
space:
mode:
authorMatthew Weber <mlweber1@rockwellcollins.com>2014-01-07 22:34:07 -0600
committerPeter Korsgaard <peter@korsgaard.com>2014-01-22 22:39:36 +0100
commit9dada44cd886ae3cc5671791a3e181ec963ad0f1 (patch)
tree496443fcb73ae748cbbee9bbccd06bce0ff9cf37 /package/python/python.mk
parent22cdb652f51f08c52a87f66da49036eecdf68e8a (diff)
downloadbuildroot-9dada44cd886ae3cc5671791a3e181ec963ad0f1.tar.gz
buildroot-9dada44cd886ae3cc5671791a3e181ec963ad0f1.zip
added python unicode selection to menu
This patch is based on the original new pkg patch submitted last Jan and is part of the "Patchwork oldest patches cleanup #5". [Peter: fix CONF_OPT indentation] Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python/python.mk')
-rw-r--r--package/python/python.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/python/python.mk b/package/python/python.mk
index bc42e8f14f..6187d66e7d 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -102,6 +102,11 @@ ifneq ($(BR2_PACKAGE_PYTHON_UNICODEDATA),y)
PYTHON_CONF_OPT += --disable-unicodedata
endif
+# Default is UCS2 w/o a conf opt
+ifeq ($(BR2_PACKAGE_PYTHON_UCS4),y)
+PYTHON_CONF_OPT += --enable-unicode=ucs4
+endif
+
ifeq ($(BR2_PACKAGE_PYTHON_BZIP2),y)
PYTHON_DEPENDENCIES += bzip2
else
OpenPOWER on IntegriCloud