GNU bug report logs -
#46741
[PATCH] gnu: Return appropriate defconfig for ppc64 (non-LE)
Previous Next
Reported by: Carl Dong <contact <at> carldong.me>
Date: Wed, 24 Feb 2021 03:04:02 UTC
Severity: normal
Tags: patch
Done: Carl Dong <contact <at> carldong.me>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 46741 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hmmm does string-prefix? accept regex? And if so perhaps it should be "powerpc64(le)?-“?
Carl Dong
contact <at> carldong.me
"I fight for the users"
> On Feb 24, 2021, at 3:17 AM, Efraim Flashner <efraim <at> flashner.co.il> wrote:
>
> On Tue, Feb 23, 2021 at 10:03:12PM -0500, Carl Dong wrote:
>> * gnu/packages/linux.scm (system->defconfig): Add "powerpc64-" prefix.
>> ---
>> gnu/packages/linux.scm | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
>> index c87c5ffb09..30cbebf849 100644
>> --- a/gnu/packages/linux.scm
>> +++ b/gnu/packages/linux.scm
>> @@ -181,6 +181,7 @@
>> defconfig. Return the appropriate make target if applicable, otherwise return
>> \"defconfig\"."
>> (cond ((string-prefix? "powerpc-" system) "pmac32_defconfig")
>> + ((string-prefix? "powerpc64-" system) "ppc64_defconfig")
>> ((string-prefix? "powerpc64le-" system) "ppc64_defconfig")
>
> would it make more sense to change it to "powerpc64" or "powerpc(64)?-"?
>
>> (else "defconfig")))
>>
>> --
>> 2.30.1
>>
>>
>>
>>
>
> --
> Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, attachment)]
This bug report was last modified 4 years and 82 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.