* [Buildroot] [PATCH 1/1] package/openvmtools: add resolutionkms option
@ 2019-02-16 18:20 Fabrice Fontaine
2019-03-27 18:48 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2019-02-16 18:20 UTC (permalink / raw)
To: buildroot
resolutionkms has been added in version 10.2.5 and
https://github.com/vmware/open-vm-tools/commit/dc95efcb7d4bb7d865b7d37f9aaafe6fb8009e59
It depends on udev and libdrm's vmwgfx option
Fixes:
- http://autobuild.buildroot.org/results/92f7c88917066b1d3e15ee0d1baafe01c0cb29c8
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/openvmtools/Config.in | 11 +++++++++++
package/openvmtools/openvmtools.mk | 7 +++++++
2 files changed, 18 insertions(+)
diff --git a/package/openvmtools/Config.in b/package/openvmtools/Config.in
index 72c0293de7..f63d691e01 100644
--- a/package/openvmtools/Config.in
+++ b/package/openvmtools/Config.in
@@ -45,6 +45,17 @@ config BR2_PACKAGE_OPENVMTOOLS_PAM
comment "PAM support needs a glibc toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
+config BR2_PACKAGE_OPENVMTOOLS_RESOLUTIONKMS
+ bool "resolutionkms support"
+ depends on BR2_PACKAGE_HAS_UDEV
+ select BR2_PACKAGE_LIBDRM
+ select BR2_PACKAGE_LIBDRM_VMWGFX
+ help
+ Enable support for resolutionkms
+
+comment "resolutionkms needs udev"
+ depends on !BR2_PACKAGE_HAS_UDEV
+
endif
comment "openvmtools needs a glibc or musl toolchain w/ wchar, threads, RPC, locale"
diff --git a/package/openvmtools/openvmtools.mk b/package/openvmtools/openvmtools.mk
index 0dc2956d02..145ee61895 100644
--- a/package/openvmtools/openvmtools.mk
+++ b/package/openvmtools/openvmtools.mk
@@ -47,6 +47,13 @@ else
OPENVMTOOLS_CONF_OPTS += --without-pam
endif
+ifeq ($(BR2_PACKAGE_OPENVMTOOLS_RESOLUTIONKMS),y)
+OPENVMTOOLS_CONF_OPTS += --enable-resolutionkms
+OPENVMTOOLS_DEPENDENCIES += libdrm udev
+else
+OPENVMTOOLS_CONF_OPTS += --disable-resolutionkms
+endif
+
# symlink needed by lib/system/systemLinux.c (or will cry in /var/log/messages)
# defined in lib/misc/hostinfoPosix.c
# /sbin/shutdown needed for Guest OS restart/shutdown from hypervisor
--
2.14.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/openvmtools: add resolutionkms option
2019-02-16 18:20 [Buildroot] [PATCH 1/1] package/openvmtools: add resolutionkms option Fabrice Fontaine
@ 2019-03-27 18:48 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-03-27 18:48 UTC (permalink / raw)
To: buildroot
On Sat, 16 Feb 2019 19:20:48 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> resolutionkms has been added in version 10.2.5 and
> https://github.com/vmware/open-vm-tools/commit/dc95efcb7d4bb7d865b7d37f9aaafe6fb8009e59
>
> It depends on udev and libdrm's vmwgfx option
>
> Fixes:
> - http://autobuild.buildroot.org/results/92f7c88917066b1d3e15ee0d1baafe01c0cb29c8
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/openvmtools/Config.in | 11 +++++++++++
> package/openvmtools/openvmtools.mk | 7 +++++++
> 2 files changed, 18 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-27 18:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-16 18:20 [Buildroot] [PATCH 1/1] package/openvmtools: add resolutionkms option Fabrice Fontaine
2019-03-27 18:48 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox