gnu: Return appropriate defconfig for ppc64 (non-LE)

* gnu/packages/linux.scm (system->defconfig): Add "powerpc64-" prefix.
This commit is contained in:
Carl Dong 2021-02-03 18:08:35 -05:00
parent 811a2015a2
commit 6294299283
No known key found for this signature in database
GPG key ID: 0CC52153197991A5

View file

@ -184,6 +184,7 @@ (define-public (system->defconfig system)
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")
(else "defconfig")))