From owner-freebsd-current@freebsd.org Sat Aug 17 00:23:47 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 72BEEB4CBE; Sat, 17 Aug 2019 00:23:47 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 469LX15PHGz3F21; Sat, 17 Aug 2019 00:23:45 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id ymVRh0grYsAGkymVShHE52; Fri, 16 Aug 2019 18:23:43 -0600 X-Authority-Analysis: v=2.3 cv=WeVylHpX c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=xqWC_Br6kY4A:10 a=FmdZ9Uzk2mMA:10 a=iKhvJSA4AAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=0Mig3gVM4nSJ48BHbokA:9 a=QEXdDO2ut3YA:10 a=odh9cflL3HIXMm4fY7Wr:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from [IPv6:2605:8d80:401:2fea:944b:68e3:c0df:ed4] (unknown [72.143.237.225]) by spqr.komquats.com (Postfix) with ESMTPSA id 33FE16FC; Fri, 16 Aug 2019 17:23:40 -0700 (PDT) Date: Fri, 16 Aug 2019 17:23:20 -0700 In-Reply-To: <201908162332.x7GNWI3x033026@gndrsh.dnsmgr.net> References: <201908162332.x7GNWI3x033026@gndrsh.dnsmgr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: HEADSUP: drm-current-kmod now installs sources To: "Rodney W. Grimes" , Rozhuk Ivan CC: freebsd-current@freebsd.org, John Baldwin , Daniel Eischen , x11@freebsd.org, current@freebsd.org From: Cy Schubert Message-ID: X-CMAE-Envelope: MS4wfMlAH6Biq7uF++pWN5tWQxaYYl+D1/TFB0kNVJ5QfioHzjgDC6AiCQmcC0RmXECiTrlvkGkcAxNCiKGzWmQz/DcMkbSgbuJ85O0FATV3nTa/ZG2ZpKE/ 4/cE6qrhOOJzAaLrCSlMuq2EjlZQSlthIYbGaqr/SW0/0mtdiYCU6Meu2yVPBejdrpDNsz8RYLh1NDVaXccsJpZkv0UYyYuBq94neXQWPn9E1+LnKxd2ysmR gd580QUB+INN/qQjOfDXAgPPBIpluYYLaaP0LRpc/WIfJW7HJgh9DNwvRyvpKVwN5m3ALCKR1M0dOkxlRpuucknxhYt0Xnys6W/Uu3v2wPmP/FJmCUKDOsrh dWKRhaKd X-Rspamd-Queue-Id: 469LX15PHGz3F21 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 64.59.134.9) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-3.99 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-2.43)[ip: (-6.43), ipnet: 64.59.128.0/20(-3.16), asn: 6327(-2.45), country: CA(-0.09)]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; RCVD_IN_DNSWL_NONE(0.00)[9.134.59.64.list.dnswl.org : 127.0.5.0]; RCPT_COUNT_SEVEN(0.00)[7]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; SUSPICIOUS_RECIPS(1.50)[]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2019 00:23:47 -0000 On August 16, 2019 4:32:18 PM PDT, "Rodney W=2E Grimes" wrote: >> On Fri, 16 Aug 2019 15:40:24 -0700 >> Cy Schubert wrote: >>=20 >> > On August 16, 2019 2:51:22 PM PDT, "Rodney W=2E Grimes" >> > 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 FreeBSD UNIX: Web: http://www=2EFreeBSD=2Eorg The need of the many outweighs the greed of the few=2E