🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.user
Article #131

Re: [gentoo-user] Proper way to set MAKEOPTS?

#131
From: Pocket
Date: Thu, 12 Nov 2026 16:20
37 lines
2169 bytes

On 11/12/26 10:55, Eli Schwartz wrote:
> On 11/12/26 9:13 AM, Pocket wrote:
>> In my ebuild for raspberry pi upstream kernel
>>
>> I have this
>>
>> src_configure() {
>>      local _MAKEOPTS="$MAKEOPTS"
>>      MAKEOPTS+=' --jobs=1'
>>      emake mrproper
>>      emake bcm2711_defconfig
>>      sed -e '/^CONFIG_BTRFS_FS/s|m|y|' -i .config
>>      emake oldconfig
>>      MAKEOPTS="$_MAKEOPTS"
>> }
>>
>> Will this work for setting -j1 just for src_configure()
>>
>> And is this the proper way to set -j1 for just the src_configure
>> function and then restore it or is there a better way?
>>
>> Or did I have a serious brain fart?
> 
> 
> Just explicitly run `emake -j1 mrproper` etc.

I did that first and it gives me
emake -j4 -j1 mrproper etc

I don't know if it does the right thing.
I suppose it does?


-- 
Hindi madali ang maging ako
Technical Details
Message-ID: <NYFGN-bssD-15@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <NYDOF-brrq-1@gated-at.bofh.it> <NYFnr-bsbx-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Pocket <pocket@oldfart.online>
Newsgroups: linux.gentoo.user
Subject: Re: [gentoo-user] Proper way to set MAKEOPTS?
Date: Thu, 12 Nov 2026 17:20:01 +0100
Message-ID: <NYFGN-bssD-15@gated-at.bofh.it>
References: <NYDOF-brrq-1@gated-at.bofh.it> <NYFnr-bsbx-1@gated-at.bofh.it>
List-ID: Gentoo Linux mail <gentoo-user.gentoo.org>
Reply-To: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Envelope-From: pocket@oldfart.online
Approved: robomod@news.nic.it
Lines: 37
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 12 Nov 2026 11:12:00 -0500
X-Original-Message-ID: <46ffb1ce-eadb-41b5-91e5-8ab731bd346f@oldfart.online>
X-Original-References: <f45addad-9983-41bf-a970-3df7c17fc47f@oldfart.online>
 <850cdfcf-c281-412f-a989-9a7f37264565@gentoo.org>