Date: Fri, 16 Aug 2019 17:23:20 -0700 From: Cy Schubert <Cy.Schubert@cschubert.com> To: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>, Rozhuk Ivan <rozhuk.im@gmail.com> Cc: freebsd-current@freebsd.org, John Baldwin <jhb@freebsd.org>, Daniel Eischen <deischen@freebsd.org>, x11@freebsd.org, current@freebsd.org Subject: Re: HEADSUP: drm-current-kmod now installs sources Message-ID: <DE2FC894-F1FF-47A5-9D0A-429A9585FC27@cschubert.com> In-Reply-To: <201908162332.x7GNWI3x033026@gndrsh.dnsmgr.net> References: <201908162332.x7GNWI3x033026@gndrsh.dnsmgr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On August 16, 2019 4:32:18 PM PDT, "Rodney W=2E Grimes" <freebsd-rwg@gndrsh= =2Ednsmgr=2Enet> wrote: >> On Fri, 16 Aug 2019 15:40:24 -0700 >> Cy Schubert <Cy=2ESchubert@cschubert=2Ecom> wrote: >>=20 >> > On August 16, 2019 2:51:22 PM PDT, "Rodney W=2E Grimes" >> > <freebsd-rwg@gndrsh=2Ednsmgr=2Enet> wrote: >> > >> On 8/14/19 3:40 PM, Daniel Eischen wrote: =20 >> > >> > I've lost the original thread, but would the sources in =20 >> > >/usr/local/sys/modules get built regardless of what >MAKEOBJDIRPREFIX >> > >is? And, now that sources may be installed by a port, what is the >> > >method for _just_ updating the sources? Why do I even need to >build >> > >and install the port? Personally, I would just rather have the >> > >drm-kmod sources just imported into base and maintained there=2E If >I >> > >have 2 or more different checked out base src trees, how do I get >the >> > >correct drm-kmod to go with them if there is only one >> > >/usr/local/sys/modules? Do I need multiple port trees just to >pull >> > >in out of tree module sources? =20 >> > >>=20 >> > >> In some ways, installing sources for DRM is a compromise for the >> > >> fact =20 >> > >that we =20 >> > >> can't have DRM in the base source anymore (for various reasons)=2E > =20 >> > >However, =20 >> > >> virtualbox is also probably in that camp as well=2E =20 >> > > >> > >I applaud this effort to provide a source compile mode for DRM, >> > >but I think it has come up a bit short on execution with numorious >> > >problems sited=2E >> > > >> > >I too am not real happy that /usr/local/src is going to get >> > >automatically invoked from my some odd 10+ src trees that >> > >are of various WIP's=2E I need a way to easily disable this >> > >both on a global scale, and on a per src tree way=2E >> > > >> > >Rather than a default to on with an opt out mechanism perhaps >> > >while we gain experience change this to a default to off with >> > >an opt in mechanism? >> > > >> > >Sadly I do not have proposed solution, but something better >> > >than what is there now needs to be found=2E >> > > >> > >Regards, =20 >> >=20 >> > Could we have a =2Esrc=2Econf in the root of the tree to configure th= is >> > on a tree by tree basis? >> >=20 >> >=20 >>=20 >>=20 >> I use better way: >> /etc/make=2Econf: > >That file is global to all src trees, >so that does not achive the desired effect=2E > >> # Modules to build with kernel=2E >> PORTS_MODULES+=3D graphics/drm-fbsd12=2E0-kmod graphics/gpu-firmware-km= od > >Can we some how trigger that from either a kernel conf file, >or at least on a per src tree basis? Ala cy's =2Esrc=2Econf? >=20 >> + >> https://bugs=2Efreebsd=2Eorg/bugzilla/show_bug=2Ecgi?id=3D237290 > >I do like the patch that makes these go into the obj dir, good stuff! Presently we can use $SRCCONF=2E It's a PITA=2E =2Esrc=2Econf would overri= de any preexisting variables=2E We could expand the concept to look in ~/=2Esrc=2Econf prior to $SRCTOP/= =2Esrc=2Econf=2E --=20 Pardon the typos and autocorrect, small keyboard in use=2E Cheers, Cy Schubert <Cy=2ESchubert@cschubert=2Ecom> FreeBSD UNIX: <cy@FreeBSD=2Eorg> Web: http://www=2EFreeBSD=2Eorg The need of the many outweighs the greed of the few=2E
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DE2FC894-F1FF-47A5-9D0A-429A9585FC27>