On Mon, 25 Nov 2019 08:08:44 -0500
Laura Abbott <labbott(a)redhat.com> wrote:
On 11/24/19 1:10 PM, stan wrote:
> I build a custom local kernel using the rawhide kernel src.rpm here
> on F31. I change the spec file to build only for my arch, x86_64,
> and not to build cross headers. But I notice that the config files
> for all the nobuild archs are still processed. This seems like an
> error to me. Is it?
What you are suggesting is an optimization. There's no technical issue
with running the checks on nobuild arches. If you have a patch to
not run the checks we can see about incorporating it.
Yeah, it's been happening forever, but I thought that while I was
asking I might as well ask about it. If it was trivial to fix, it
would save a little time.
Given my (lack of) understanding of spec files, I wouldn't trust any
patch I could come up with, but I'll take a quick look next time I
build a kernel. :-)