mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/targetcli-fb: needs python-gobject
Without python-gobject, we get the following runtime error:
ModuleNotFoundError: No module named 'gi'
Add python-gobject and propagate its dependencies.
While we're at it, split the DEPENDENCIES over several line and sort
them alphabetically.
Signed-off-by: Jeremy J. Peper <jeremy@jeremypeper.com>
Reviewed-by: Adam Duskett <adam.duskett@amarulasolutions.com>
[Arnout: reorder everything alphabeticall, split DEPENDENCIES over
several lines.]
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 945b9f8d8e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
841ddc38f1
commit
16585b87f2
@@ -1,12 +1,23 @@
|
|||||||
comment "targetcli-fb depends on Python"
|
comment "targetcli-fb needs Python, a glibc toolchain, gcc >= 4.9, host gcc >= 8"
|
||||||
depends on !BR2_PACKAGE_PYTHON3
|
depends on !BR2_PACKAGE_PYTHON3
|
||||||
|
depends on BR2_USE_MMU
|
||||||
|
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
|
||||||
|
depends on !BR2_HOST_GCC_AT_LEAST_8 || \
|
||||||
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
||||||
|
!BR2_TOOLCHAIN_USES_GLIBC
|
||||||
|
|
||||||
config BR2_PACKAGE_TARGETCLI_FB
|
config BR2_PACKAGE_TARGETCLI_FB
|
||||||
bool "targetcli-fb"
|
bool "targetcli-fb"
|
||||||
depends on BR2_PACKAGE_PYTHON3 # python-configshell-fb
|
depends on BR2_PACKAGE_PYTHON3 # python-configshell-fb
|
||||||
|
depends on BR2_USE_MMU # python-gobject -> gobject-introspection
|
||||||
|
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # python-gobject -> gobject-introspection
|
||||||
|
depends on BR2_HOST_GCC_AT_LEAST_8 # python-gobject -> gobject-introspection
|
||||||
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # python-gobject -> gobject-introspection
|
||||||
|
depends on BR2_TOOLCHAIN_USES_GLIBC # python-gobject -> gobject-introspection
|
||||||
select BR2_PACKAGE_PYTHON_CONFIGSHELL_FB
|
select BR2_PACKAGE_PYTHON_CONFIGSHELL_FB
|
||||||
select BR2_PACKAGE_PYTHON_RTSLIB_FB
|
select BR2_PACKAGE_PYTHON_RTSLIB_FB
|
||||||
select BR2_PACKAGE_PYTHON_SIX
|
select BR2_PACKAGE_PYTHON_SIX
|
||||||
|
select BR2_PACKAGE_PYTHON_GOBJECT
|
||||||
help
|
help
|
||||||
targetcli-fb is a command-line interface for configuring the
|
targetcli-fb is a command-line interface for configuring the
|
||||||
LIO generic SCSI target, present in 3.x Linux kernel
|
LIO generic SCSI target, present in 3.x Linux kernel
|
||||||
|
|||||||
@@ -12,7 +12,11 @@ TARGETCLI_FB_LICENSE = Apache-2.0
|
|||||||
TARGETCLI_FB_LICENSE_FILES = COPYING
|
TARGETCLI_FB_LICENSE_FILES = COPYING
|
||||||
TARGETCLI_FB_CPE_ID_VALID = YES
|
TARGETCLI_FB_CPE_ID_VALID = YES
|
||||||
TARGETCLI_FB_SETUP_TYPE = setuptools
|
TARGETCLI_FB_SETUP_TYPE = setuptools
|
||||||
TARGETCLI_FB_DEPENDENCIES = python-configshell-fb python-rtslib-fb python-six
|
TARGETCLI_FB_DEPENDENCIES = \
|
||||||
|
python-configshell-fb \
|
||||||
|
python-gobject \
|
||||||
|
python-rtslib-fb \
|
||||||
|
python-six
|
||||||
|
|
||||||
define TARGETCLI_FB_INSTALL_INIT_SYSV
|
define TARGETCLI_FB_INSTALL_INIT_SYSV
|
||||||
$(INSTALL) -m 0755 -D package/targetcli-fb/S50target \
|
$(INSTALL) -m 0755 -D package/targetcli-fb/S50target \
|
||||||
|
|||||||
Reference in New Issue
Block a user