mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
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>
This commit is contained in:
parent
22cdb652f5
commit
9dada44cd8
@ -84,6 +84,24 @@ config BR2_PACKAGE_PYTHON_UNICODEDATA
|
|||||||
help
|
help
|
||||||
Unicode character database (used by stringprep module) (large).
|
Unicode character database (used by stringprep module) (large).
|
||||||
|
|
||||||
|
if BR2_PACKAGE_PYTHON_UNICODEDATA
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "Python unicode database format"
|
||||||
|
default BR2_PACKAGE_PYTHON_UCS2
|
||||||
|
help
|
||||||
|
Select Python unicode database format for target
|
||||||
|
|
||||||
|
config BR2_PACKAGE_PYTHON_UCS2
|
||||||
|
bool "Universal Character Set 2-byte (UCS2)"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_PYTHON_UCS4
|
||||||
|
bool "Universal Character Set 4-byte (UCS4)"
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
config BR2_PACKAGE_PYTHON_SQLITE
|
config BR2_PACKAGE_PYTHON_SQLITE
|
||||||
bool "sqlite module"
|
bool "sqlite module"
|
||||||
select BR2_PACKAGE_SQLITE
|
select BR2_PACKAGE_SQLITE
|
||||||
|
@ -102,6 +102,11 @@ ifneq ($(BR2_PACKAGE_PYTHON_UNICODEDATA),y)
|
|||||||
PYTHON_CONF_OPT += --disable-unicodedata
|
PYTHON_CONF_OPT += --disable-unicodedata
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_PYTHON_BZIP2),y)
|
||||||
PYTHON_DEPENDENCIES += bzip2
|
PYTHON_DEPENDENCIES += bzip2
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user