mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/libvirt: fix dependency of lxc support
Buildroot commited12e2fbedin 2021 added BR2_PACKAGE_LIBVIRT_LXC which selects BR2_PACKAGE_LXC but did not add the dependency !BR2_TOOLCHAIN_USES_UCLIBC which was added to lxc in 2019 by buildroot commit63aad8a53ecausing Kconfig warnings: WARNING: unmet direct dependencies detected for BR2_PACKAGE_LXC Depends on [n]: BR2_TOOLCHAIN_HAS_THREADS [=y] && BR2_USE_MMU [=y] && !BR2_STATIC_LIBS [=n] && BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 [=y] && BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 [=y] && !BR2_TOOLCHAIN_USES_UCLIBC [=y] Selected by [y]: - BR2_PACKAGE_LIBVIRT_LXC [=y] && BR2_PACKAGE_LIBVIRT [=y] && BR2_PACKAGE_LIBVIRT_DAEMON [=y] && BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 [=y] Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit88d1fde405) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
75b021969c
commit
b1ff64b8e8
@@ -89,12 +89,14 @@ comment "qemu needs a toolchain with gcc >= 8"
|
||||
config BR2_PACKAGE_LIBVIRT_LXC
|
||||
bool "lxc"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # lxc
|
||||
depends on !BR2_TOOLCHAIN_USES_UCLIBC # lxc
|
||||
select BR2_PACKAGE_LXC
|
||||
help
|
||||
Linux Container support
|
||||
|
||||
comment "lxc needs a toolchain w/ gcc >= 4.7"
|
||||
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
|
||||
comment "lxc needs a glibc or musl toolchain w/ gcc >= 4.7"
|
||||
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 \
|
||||
|| BR2_TOOLCHAIN_USES_UCLIBC
|
||||
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user