maintainer-approval requested: [Bug 277365] x11/nvidia-driver: Allow building without syscons(4) support : [Attachment 262664] Patch to allow building x11/nvidia-driver and graphics/nvidia-drm-*-kmod without syscons support

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
Tomoaki AOKI <[email protected]> has asked freebsd-x11 (Nobody)
<[email protected]> for maintainer-approval:
Bug 277365: x11/nvidia-driver: Allow building without syscons(4) support
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277365

Attachment 262664: Patch to allow building x11/nvidia-driver and
graphics/nvidia-drm-*-kmod without syscons support
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262664&action=edit



--- Comment #4 from Tomoaki AOKI <[email protected]> ---
Created attachment 262664
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262664&action=edit
Patch to allow building x11/nvidia-driver and graphics/nvidia-drm-*-kmod
without syscons support

Does this patch work for you?
Not actually tried on kernel without syscons (sc), though,
this shouldn't call sc driver and working with -devel versions of drivers on my
usual stable/14, amd64 kernel (sc / syscons are NOT disabled).

As nvidia.ko alone differs with normally built one with SYSCONS option
disabled,
patch for graphics/nvidia-drm-kmod/Makefile.common could be overkill, but
treated as it could cause build issue when syscons is really removed from tree
in the future.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.