[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/28: gnu: ovmf: Update phase style.
From: |
Tobias Geerinckx-Rice |
Subject: |
13/28: gnu: ovmf: Update phase style. |
Date: |
Fri, 2 Mar 2018 09:53:10 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit f563d1990466e067e7c73eab553fe1ee20a44ffe
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Thu Mar 1 23:06:41 2018 +0100
gnu: ovmf: Update phase style.
* gnu/packages/firmware.scm (ovmf): Substitute INVOKE for SYSTEM* and
end phases with #t.
---
gnu/packages/firmware.scm | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 1579ba4..0e1539c 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -261,7 +261,7 @@ coreboot.")
(setenv "WORKSPACE" cwd)
(setenv "EDK_TOOLS_PATH" tools)
(setenv "PATH" (string-append (getenv "PATH") ":" bin))
- (system* "bash" "edksetup.sh" "BaseTools")
+ (invoke "bash" "edksetup.sh" "BaseTools")
(substitute* "Conf/target.txt"
(("^TARGET[ ]*=.*$") "TARGET = RELEASE\n")
(("^TOOL_CHAIN_TAG[ ]*=.*$") "TOOL_CHAIN_TAG = GCC49\n")
@@ -270,14 +270,16 @@ coreboot.")
(number->string (parallel-job-count)))))
;; Build build support.
(setenv "BUILD_CC" "gcc")
- (zero? (system* "make" "-C" (string-append tools
"/Source/C"))))))
+ (invoke "make" "-C" (string-append tools "/Source/C"))
+ #t)))
(add-after 'build 'build-ia32
(lambda _
(substitute* "Conf/target.txt"
(("^TARGET_ARCH[ ]*=.*$") "TARGET_ARCH = IA32\n")
(("^ACTIVE_PLATFORM[ ]*=.*$")
"ACTIVE_PLATFORM = OvmfPkg/OvmfPkgIa32.dsc\n"))
- (zero? (system* "build"))))
+ (invoke "build")
+ #t))
,@(if (string=? "x86_64-linux" (%current-system))
'((add-after 'build 'build-x64
(lambda _
@@ -285,7 +287,8 @@ coreboot.")
(("^TARGET_ARCH[ ]*=.*$") "TARGET_ARCH = X64\n")
(("^ACTIVE_PLATFORM[ ]*=.*$")
"ACTIVE_PLATFORM = OvmfPkg/OvmfPkgX64.dsc\n"))
- (zero? (system* "build")))))
+ (invoke "build")
+ #t)))
'())
(delete 'build)
(replace 'install
- 15/28: gnu: gnome-mpv: Update to 0.14., (continued)
- 15/28: gnu: gnome-mpv: Update to 0.14., Tobias Geerinckx-Rice, 2018/03/02
- 17/28: gnu: fortify-headers: Update to 0.9., Tobias Geerinckx-Rice, 2018/03/02
- 16/28: gnu: fossil: Update phase style., Tobias Geerinckx-Rice, 2018/03/02
- 19/28: gnu: ghc-abstract-deque: Fix typos in description., Tobias Geerinckx-Rice, 2018/03/02
- 24/28: gnu: delta: Remove redundant code., Tobias Geerinckx-Rice, 2018/03/02
- 20/28: gnu: highlight: Update to 3.42., Tobias Geerinckx-Rice, 2018/03/02
- 21/28: gnu: highlight: Don't hard-code Lua version., Tobias Geerinckx-Rice, 2018/03/02
- 26/28: gnu: zerofree: Update to 1.1.1., Tobias Geerinckx-Rice, 2018/03/02
- 28/28: gnu: nghttp2: Update to 1.31.0., Tobias Geerinckx-Rice, 2018/03/02
- 27/28: gnu: libpsl: Update to 0.20.1., Tobias Geerinckx-Rice, 2018/03/02
- 13/28: gnu: ovmf: Update phase style.,
Tobias Geerinckx-Rice <=