Article View: linux.gentoo.user
Article #129[gentoo-user] Proper way to set MAKEOPTS?
From: Pocket
Date: Thu, 12 Nov 2026 14:20
Date: Thu, 12 Nov 2026 14:20
23 lines
1600 bytes
1600 bytes
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?
--
Hindi madali ang maging ako
Technical Details
Message-ID:
<NYDOF-brrq-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Pocket <pocket@oldfart.online> Newsgroups: linux.gentoo.user Subject: [gentoo-user] Proper way to set MAKEOPTS? Date: Thu, 12 Nov 2026 15:20:01 +0100 Message-ID: <NYDOF-brrq-1@gated-at.bofh.it> X-Original-To: gentoo-user@lists.gentoo.org 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: 7bit X-Envelope-From: pocket@oldfart.online Approved: robomod@news.nic.it Lines: 23 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 12 Nov 2026 09:13:03 -0500 X-Original-Message-ID: <f45addad-9983-41bf-a970-3df7c17fc47f@oldfart.online>