targetcli-fb: allow to build with Python 3
Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
54e8fb12d3
commit
42c2da0d8a
@ -1,8 +1,9 @@
|
||||
config BR2_PACKAGE_PYTHON_CONFIGSHELL_FB
|
||||
bool "python-configshell-fb"
|
||||
depends on BR2_PACKAGE_PYTHON
|
||||
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
|
||||
select BR2_PACKAGE_PYTHON_PYPARSING
|
||||
select BR2_PACKAGE_PYTHON_READLINE
|
||||
select BR2_PACKAGE_PYTHON3_READLINE if BR2_PACKAGE_PYTHON3
|
||||
select BR2_PACKAGE_PYTHON_READLINE if BR2_PACKAGE_PYTHON
|
||||
select BR2_PACKAGE_PYTHON_URWID
|
||||
help
|
||||
configshell-fb is a Python library that provides a framework
|
||||
|
@ -1,6 +1,6 @@
|
||||
config BR2_PACKAGE_PYTHON_RTSLIB_FB
|
||||
bool "python-rtslib-fb"
|
||||
depends on BR2_PACKAGE_PYTHON
|
||||
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
|
||||
help
|
||||
rtslib-fb is an object-based Python library for configuring
|
||||
the LIO generic SCSI target, present in 3.x Linux kernel
|
||||
|
@ -1,9 +1,9 @@
|
||||
comment "targetcli-fb depends on python"
|
||||
depends on !BR2_PACKAGE_PYTHON
|
||||
comment "targetcli-fb depends on Python"
|
||||
depends on !BR2_PACKAGE_PYTHON && !BR2_PACKAGE_PYTHON3
|
||||
|
||||
config BR2_PACKAGE_TARGETCLI_FB
|
||||
bool "targetcli-fb"
|
||||
depends on BR2_PACKAGE_PYTHON
|
||||
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
|
||||
select BR2_PACKAGE_PYTHON_CONFIGSHELL_FB
|
||||
select BR2_PACKAGE_PYTHON_RTSLIB_FB
|
||||
help
|
||||
|
Loading…
Reference in New Issue
Block a user