* [Buildroot] [git commit] package/ti-sgx-um: do not depend on the kernel driver, select it
@ 2022-01-08 18:04 Thomas Petazzoni
0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2022-01-08 18:04 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=1f19ea10137e204d2478a7221053122b4e12e54b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Depending on the kernel driver is annoying because it means you can't
build ti-sgx-um without enabling a kernel. This prevents easy testing
of ti-sgx-um, and it also means ti-sgx-um is never built by the
autobuilders.
So instead, we select the kernel driver if a kernel is built by
Buildroot. This requires propagating the BR2_arm dependency from
ti-sgx-km to ti-sgx-um.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/ti-sgx-um/Config.in | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/package/ti-sgx-um/Config.in b/package/ti-sgx-um/Config.in
index 2dea104b58..13c7cc8856 100644
--- a/package/ti-sgx-um/Config.in
+++ b/package/ti-sgx-um/Config.in
@@ -1,17 +1,15 @@
-comment "ti-sgx-um needs the ti-sgx-km driver"
- depends on !BR2_PACKAGE_TI_SGX_KM
-
comment "ti-sgx-um needs udev and a glibc toolchain w/ threads"
+ depends on BR2_arm
depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_USES_GLIBC \
|| !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_TI_SGX_UM
bool "ti-sgx-um"
- depends on BR2_PACKAGE_TI_SGX_KM
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
depends on BR2_PACKAGE_HAS_UDEV
# pre-built binaries
depends on BR2_TOOLCHAIN_USES_GLIBC
+ depends on BR2_arm
select BR2_PACKAGE_LIBDRM
select BR2_PACKAGE_LIBDRM_OMAP
select BR2_PACKAGE_HAS_LIBEGL
@@ -21,6 +19,7 @@ config BR2_PACKAGE_TI_SGX_UM
select BR2_PACKAGE_HAS_POWERVR
select BR2_PACKAGE_LIBFFI
select BR2_PACKAGE_WAYLAND
+ select BR2_PACKAGE_TI_SGX_KM if BR2_LINUX_KERNEL
help
Graphics libraries for TI CPUs with SGX5xx GPU.
This package supports AM335x, AM437x, AM4430 and AM5430.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-08 18:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-08 18:04 [Buildroot] [git commit] package/ti-sgx-um: do not depend on the kernel driver, select it Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).