From owner-freebsd-current@freebsd.org Sat Aug 17 00:07:40 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 6CF37B4092; Sat, 17 Aug 2019 00:07:40 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 469L9R1XHlz3CqK; Sat, 17 Aug 2019 00:07:39 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by mail-ed1-x543.google.com with SMTP id g8so6506247edm.6; Fri, 16 Aug 2019 17:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WinDpy/Q1jb1jU809ItR6dn2vuwbvrym9xl5bB9Eiao=; b=TsFIDjIljm6S+FHmQe0122P+lc9/ljD2j5tEU6BHWGsK2LcvedkAXxZkJxIoqUz5FK T9mjnq4rEeofMNjjIWbMhgSIvCry+4HTeyFb5jkewT3wKVjZ9/x900jMZ0AFe9dNwttf 1K16dx3IDgzxnlfrkW0jM1nxnSZf85mZhVGGt6usLbCE0iSdE/45QOaRJYEoeKV0SVHw FqLm0Q7xYOSLdGWcdEJ8C4In4BrK4qpjS5mAhbL8JfIIXCJZfvZmiTm+jeN+Q00ZtC52 CRc5eVAmKgPFGWUnsL6Pa8A6+kyJlJ6i+iBxgg8LYXrIynEjSIxzPy/yzSC4BCtXS8o0 qR1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WinDpy/Q1jb1jU809ItR6dn2vuwbvrym9xl5bB9Eiao=; b=jc6DG4nAyqWkFKo4TRT3kKL5KWRxOAq9+thbZ7EaZlFUD5NJ79xbOFTR3uBL1iRxKC OTxBxRhiXZwxgxg8lnsT1A8rbVKFmkhVkXudEUy4AcuwUDAk+d/nivaATBw2y46hW/Qe wNLTDxcuQP7ZUo/zSwzmSL4rc7cSlrWsxAwb1ZFQ2pMgEaLQB/osdnl4u59/7nq6Wqdz lDRNelj8JI0+JaRG/kV1xqjUdZA+j6qQw4ZMqj1h2MkfEbxM6qxry6VxOhTP1ai2qL4T KJhxp4iNNceiPPNBAbq7z03usu2oDfBxg+wOfWGzckooXcK17nxGVJ4/8l4HWufjI/qg XJEA== X-Gm-Message-State: APjAAAXUtukdVZ1uqQXdNBd/I4NmkW2D2a9RFthgvozGLsRBNM1lsMXt F5ghEgo3rPWDgfVl6AhOFto= X-Google-Smtp-Source: APXvYqxnpOroV014lgagMcuLb4Blwv3Il/qoCnNfNuYMXuckcVScNbGAXDeI1DZ5iK1MsNDmfCoijA== X-Received: by 2002:a17:906:2642:: with SMTP id i2mr2916369ejc.202.1566000457723; Fri, 16 Aug 2019 17:07:37 -0700 (PDT) Received: from rimwks ([2001:470:1f15:3d8:7285:c2ff:fe37:5722]) by smtp.gmail.com with ESMTPSA id h2sm1346504edr.16.2019.08.16.17.07.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Aug 2019 17:07:36 -0700 (PDT) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Sat, 17 Aug 2019 03:07:35 +0300 To: "Rodney W. Grimes" Cc: Cy Schubert , freebsd-current@freebsd.org, John Baldwin , Daniel Eischen , x11@freebsd.org, current@freebsd.org Subject: Re: HEADSUP: drm-current-kmod now installs sources Message-ID: <20190817030735.49627ae5@rimwks> In-Reply-To: <201908162332.x7GNWI3x033026@gndrsh.dnsmgr.net> References: <20190817015208.2c8c29e0@rimwks> <201908162332.x7GNWI3x033026@gndrsh.dnsmgr.net> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 469L9R1XHlz3CqK X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=TsFIDjIl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rozhukim@gmail.com designates 2a00:1450:4864:20::543 as permitted sender) smtp.mailfrom=rozhukim@gmail.com X-Spamd-Result: default: False [-3.48 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.00)[ip: (0.03), ipnet: 2a00:1450::/32(-3.03), asn: 15169(-2.38), country: US(-0.05)]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.4.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[] 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:07:40 -0000 On Fri, 16 Aug 2019 16:32:18 -0700 (PDT) "Rodney W. Grimes" 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. > > > > > > > > > > Could we have a .src.conf in the root of the tree to configure > > > this on a tree by tree basis? > > > > > > > > > > > > I use better way: > > /etc/make.conf: > > That file is global to all src trees, > so that does not achive the desired effect. You can override this using env __MAKE_CONF=PATH_TO_MAKE.CONF SRCCONF=PATH_TO_SRC.CONF > > # Modules to build with kernel. > > PORTS_MODULES+= graphics/drm-fbsd12.0-kmod > > graphics/gpu-firmware-kmod > > Can we some how trigger that from either a kernel conf file, > or at least on a per src tree basis? Ala cy's .src.conf? I dont know, never use it.