From owner-freebsd-current@freebsd.org Fri Aug 16 21:51:25 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 0ABC0B08C9; Fri, 16 Aug 2019 21:51:25 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 469H8D5spBz4q3b; Fri, 16 Aug 2019 21:51:24 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x7GLpMhA032598; Fri, 16 Aug 2019 14:51:22 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id x7GLpMqf032597; Fri, 16 Aug 2019 14:51:22 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201908162151.x7GLpMqf032597@gndrsh.dnsmgr.net> Subject: Re: HEADSUP: drm-current-kmod now installs sources In-Reply-To: <4dab4e01-6910-8874-a457-c0468e5907f3@FreeBSD.org> To: John Baldwin Date: Fri, 16 Aug 2019 14:51:22 -0700 (PDT) CC: Daniel Eischen , freebsd-current@freebsd.org, x11@freebsd.org, current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 469H8D5spBz4q3b X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.93 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.93)[-0.934,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Fri, 16 Aug 2019 21:51:25 -0000 > On 8/14/19 3:40 PM, Daniel Eischen wrote: > > I've lost the original thread, but would the sources in /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. 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? > > In some ways, installing sources for DRM is a compromise for the fact that we > can't have DRM in the base source anymore (for various reasons). However, > virtualbox is also probably in that camp as well. 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. 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. I need a way to easily disable this both on a global scale, and on a per src tree way. 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. Regards, -- Rod Grimes rgrimes@freebsd.org