From nobody Tue Aug 22 04:34:55 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RVGjS3bqzz4qHpb for ; Tue, 22 Aug 2023 04:35:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RVGjS1y18z4L5f for ; Tue, 22 Aug 2023 04:35:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-98377c5d53eso510538366b.0 for ; Mon, 21 Aug 2023 21:35:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20221208.gappssmtp.com; s=20221208; t=1692678907; x=1693283707; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TrB2C75+mebFwU9gZNg74lgmrsImrIi048iYruKSQoc=; b=mw8p5WY7F9eRnGuQYXLuhQnzmbMOW9hOp+dfHm0s2PzcfkUQTWFVvvEYCekFCbRISD Qpsk1AGER5LuWWfbxfHJhwY9x/ei2psINfJZ/PJieQZlwU39WWKfYnFnpyosVB8Kh8EM AFjTt/xiylb1rxXqqbG7DR/cQV/9mUKN9FwLW13K+ZIz2N68iGnXIDwCYjAPXzLz38hR UwxMskDZnWJzF3zjQr7I6nxbzbutX4dlZPMzGg60eeftoXRf1UiLxdh2fW19zg8oGX8Z waU2vXu1HauIKnuusAi6R/A5eZegxzV3lM28I9cWn3bWCU+OyQ5Om8omHVyE4lF+VvXn phVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692678907; x=1693283707; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TrB2C75+mebFwU9gZNg74lgmrsImrIi048iYruKSQoc=; b=AiLHqoXP1puU2yob9ZH/2eLnTt70y83eKi6+ikiI/hu4FqyfV+nwbHJmMLh0RfY/NL JwHUIgFwSACmNkcekDo+klNCaV5DICsLyxiHcFBxJdwkCCWTgnPQC/nESBpO7t4E5gHF ce3IFYjHNfAXIgdRFkNciZIKkLDl2nKYUoaNg7f/LrfAifnnr1tX5szYDRxw9vAORCAb ByI5eaHJrBYD27RF5bUM2NHP/JMCFK6PhRR1M6vPcSjJo6V68D5darEP72qQxNoN4N4g usqwV9wSjHLPK7HgZPjVrULcQewnvSLo4GPj+MXaMxQ4nosDwDaYy468N5+Up7inuUV6 82YQ== X-Gm-Message-State: AOJu0Yw3ia+vlW/9MUaqRdA7g8riwsya5m8B2KRLKBMhff3Ezaje6cz/ YZyzp8UveJEHGmdBp5nJbV49nQQjtzOXtMVF0pkevJmp4mWzng/R X-Google-Smtp-Source: AGHT+IFBE2bBSAL5f//UI6HAzqy4lrBca0hPZLTb4Vpa4vuCrYhgOFXuUb8qjglyGfzLwazoqEO5IKHnJRIb4ko1N6I= X-Received: by 2002:a17:906:5a6f:b0:9a1:872b:f693 with SMTP id my47-20020a1709065a6f00b009a1872bf693mr5242959ejc.63.1692678906596; Mon, 21 Aug 2023 21:35:06 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <31c2b00f-a3c4-5608-9776-fa20ea005a45@gmail.com> In-Reply-To: <31c2b00f-a3c4-5608-9776-fa20ea005a45@gmail.com> From: Warner Losh Date: Mon, 21 Aug 2023 22:34:55 -0600 Message-ID: Subject: Re: src.conf(5) to specify multiple flavours of a port To: Graham Perrin Cc: FreeBSD CURRENT Content-Type: multipart/alternative; boundary="000000000000f2649306037b840b" X-Rspamd-Queue-Id: 4RVGjS1y18z4L5f X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] --000000000000f2649306037b840b Content-Type: text/plain; charset="UTF-8" On Mon, Aug 21, 2023, 10:24 PM Graham Perrin wrote: > In a thread elsewhere, as an example that did *not* involve src.conf, > Mark Johnston wrote: > > $ cd /usr/ports/graphics/gpu-firmware-intel-kmod > $ sudo make reinstall FLAVOR=kabylake > > > How might I use /etc/src.conf to achieve much the same, with a different > port? > I thought stuff like this went in ports.conf... Warner > A recent edition of my file included these four lines, the third of which > causes an error: > > PORTS_MODULES= graphics/drm-510-kmod > # PORTS_MODULES= graphics/drm-515-kmod > PORTS_MODULES+= graphics/gpu-firmware-radeon-kmod@btc > graphics/gpu-firmware-radeon-kmod@sumo > graphics/gpu-firmware-radeon-kmod@turks > # PORTS_MODULES+= graphics/gpu-firmware-radeon-kmod > > This morning: I use the fourth line, instead. > > In future: I'd prefer to be without the build time that's associated with > so many flavours, when only three are required. > > > > > > More than doubly time-consuming, because: > > KERNCONF=GENERIC GENERIC-NODEBUG > # KERNCONF=GENERIC > # KERNCONF=GENERIC-NODEBUG > > NO_INSTALLEXTRAKERNELS=no > > TIA > > > --000000000000f2649306037b840b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Aug 21, 2023, 10:24 PM Graham Perrin <grahamperrin@gmail.com> wrote:<= br>
=20 =20 =20
In a thread elsewhere, as an example that did not involve src.conf, Mark Johnston wrote:

$ cd /usr/ports/graphics/gpu-firmware-intel-kmod
$ sudo make reinstall FLAVOR=3Dkabylake

How might I use /etc/src.conf to achieve much the same, with a different port?

<= /div>


I thought stuff like this went in ports.conf...

Warner=C2=A0

A recent edition of my file included these four lines, the third of which causes an error:

PORTS_MODULES=3D graphics/drm-510-kmod
# PORTS_MODULES=3D graphics/drm-515-kmod
PORTS_MODULES+=3D graphics/gpu-firmware-radeon-kmod@btc graphics/gpu-firmware-radeon-kmod@sumo graphics/gpu-firmware-radeon-kmod@turks
# PORTS_MODULES+=3D graphics/gpu-firmware-radeon-kmod

This morning: I use the fourth line, instead.

In future: I'd prefer to be without the build time that's associated with so many flavours, when only three are required.

<https://www.freshpor= ts.org/graphics/gpu-firmware-radeon-kmod/#flavors>


More than doubly time-consuming, because:

KERNCONF=3DGENERIC GENERIC-NODEBUG
# KERNCONF=3DGENERIC
# KERNCONF=3DGENERIC-NODEBUG

NO_INSTALLEXTRAKERNELS=3Dno

TIA


--000000000000f2649306037b840b--