gnu: ovmf: Fix build on x86_64.
This is a follow-up to 2eb95ade8f
.
* gnu/packages/firmware.scm (ovmf)[arguments]: Fix the syntax used when
following the x86_64 fork of the arguments.
This commit is contained in:
parent
dbde386ee3
commit
bfba12695a
|
@ -277,13 +277,13 @@ use of coreboot.")
|
||||||
"ACTIVE_PLATFORM = OvmfPkg/OvmfPkgIa32.dsc\n"))
|
"ACTIVE_PLATFORM = OvmfPkg/OvmfPkgIa32.dsc\n"))
|
||||||
(zero? (system* "build"))))
|
(zero? (system* "build"))))
|
||||||
,@(if (string=? "x86_64-linux" (%current-system))
|
,@(if (string=? "x86_64-linux" (%current-system))
|
||||||
'(add-after 'build 'build-x64
|
'((add-after 'build 'build-x64
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Conf/target.txt"
|
(substitute* "Conf/target.txt"
|
||||||
(("^TARGET_ARCH[ ]*=.*$") "TARGET_ARCH = X64\n")
|
(("^TARGET_ARCH[ ]*=.*$") "TARGET_ARCH = X64\n")
|
||||||
(("^ACTIVE_PLATFORM[ ]*=.*$")
|
(("^ACTIVE_PLATFORM[ ]*=.*$")
|
||||||
"ACTIVE_PLATFORM = OvmfPkg/OvmfPkgX64.dsc\n"))
|
"ACTIVE_PLATFORM = OvmfPkg/OvmfPkgX64.dsc\n"))
|
||||||
(zero? (system* "build"))))
|
(zero? (system* "build")))))
|
||||||
'())
|
'())
|
||||||
(delete 'build)
|
(delete 'build)
|
||||||
(replace 'install
|
(replace 'install
|
||||||
|
|
Loading…
Reference in New Issue