[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
188/192: gnu: binutils-mesboot: Cleanup.
From: |
Jan Nieuwenhuizen |
Subject: |
188/192: gnu: binutils-mesboot: Cleanup. |
Date: |
Mon, 3 Sep 2018 16:25:25 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 046c92425ffade5dfea94c260f991c32ad19381e
Author: Jan Nieuwenhuizen <address@hidden>
Date: Mon Sep 3 16:31:37 2018 +0200
gnu: binutils-mesboot: Cleanup.
* gnu/packages/commencement.scm (binutils-mesboot): Cleanup.
---
gnu/packages/commencement.scm | 72 ++++++-------------------------------------
1 file changed, 9 insertions(+), 63 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index b2b67b6..d287e77 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1032,78 +1032,24 @@ ac_cv_c_float_format='IEEE (little-endian)'
(package
(inherit binutils-mesboot0)
(name "binutils-mesboot")
- (inputs '())
- (propagated-inputs '())
(native-inputs `(("binutils" ,binutils-mesboot0)
("libc" ,glibc-mesboot0)
("gcc" ,gcc-mesboot0)
+ ("bash" ,%bootstrap-coreutils&co)
("coreutils" ,%bootstrap-coreutils&co)
("diffutils" ,diffutils-mesboot)
("kernel-headers" ,%bootstrap-linux-libre-headers)
("make" ,make-mesboot0)))
(arguments
- `(#:implicit-inputs? #f
- #:guile ,%bootstrap-guile
- #:parallel-build? #f
- #:parallel-tests? #f
- #:configure-flags '("--enable-deterministic-archives"
- "--disable-nls"
- "--disable-shared"
- "--disable-werror"
- "--build=i686-unknown-linux-gnu"
- "--host=i686-unknown-linux-gnu"
- "--enable-static"
- "--enable-compressed-debug-sections=no"
- "--disable-gold"
- "--disable-plugins"
- "--disable-x86-relax-relocations"
- "--with-system-libz"
- "--with-sysroot=/"
- )
- #:phases
- (modify-phases %standard-phases
- (replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (gcc (assoc-ref %build-inputs "gcc"))
- (glibc (assoc-ref %build-inputs "libc"))
- (kernel-headers (assoc-ref %build-inputs
"kernel-headers")))
- (setenv "C_INCLUDE_PATH"
- (string-append glibc "/include"
- ":" kernel-headers "/include"
- ":" gcc "/include"))
- (setenv "LIBRARY_PATH"
- (string-append glibc "/lib"
- ":" gcc "/lib"))
- (setenv "CPP" (string-append "gcc -E"))
- (setenv "AR" "ar")
- (setenv "RANLIB" "true")
- (setenv "PATH"
- (string-append
- (assoc-ref %build-inputs "binutils") "/bin"
- ":" (assoc-ref %build-inputs "gcc") "/bin"
-
- ;; more bootstrap cheats
- ":" (assoc-ref %build-inputs "coreutils") "/bin"
- ":" (assoc-ref %build-inputs "diffutils") "/bin"
- ":" (assoc-ref %build-inputs "make") "/bin"))
- (setenv "CONFIG_SHELL" (string-append
- (assoc-ref %build-inputs "coreutils")
- "/bin/sh"))
- (format (current-error-port) "PATH=~a\n" (getenv "PATH"))
- (format (current-error-port) "CONFIG_SHELL=~a\n" (getenv
"CONFIG_SHELL"))
- (format (current-error-port) "C_INCLUDE_PATH=~a\n" (getenv
"C_INCLUDE_PATH"))
- (format (current-error-port) "LIBRARY_PATH=~a\n" (getenv
"LIBRARY_PATH"))
- (zero?
- (system* "./configure"
- "--disable-nls"
- "--disable-shared"
- "--disable-werror"
- "--build=i686-unknown-linux-gnu"
- "--host=i686-unknown-linux-gnu"
- "--with-sysroot=/"
- (string-append "--prefix=" out))))))))))))
+ `(,@(substitute-keyword-arguments (package-arguments binutils-mesboot0)
+ ((#:configure-flags configure-flags)
+ '(list "--disable-nls"
+ "--disable-shared"
+ "--disable-werror"
+ "--build=i686-unknown-linux-gnu"
+ "--host=i686-unknown-linux-gnu"
+ "--with-sysroot=/"))))))))
(define-public make-mesboot
(package-with-bootstrap-guile
- 187/192: gnu: make-mesboot: Cleanup., (continued)
- 187/192: gnu: make-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/03
- 177/192: gnu: mes-boot: Cleanup., Jan Nieuwenhuizen, 2018/09/03
- 183/192: gnu: gcc-core-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/03
- 185/192: gnu: glibc-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/03
- 65/192: gnu: binutils-boot: Update to 2.25., Jan Nieuwenhuizen, 2018/09/03
- 191/192: gnu: glibc-headers-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/03
- 190/192: gnu: gcc-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/03
- 192/192: gnu: glibc-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/03
- 173/192: gnu: Add mesboot-headers., Jan Nieuwenhuizen, 2018/09/03
- 186/192: gnu: gcc-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/03
- 188/192: gnu: binutils-mesboot: Cleanup.,
Jan Nieuwenhuizen <=
- 145/192: bootstrap: Integrate mes bootstrap for i686-linux., Jan Nieuwenhuizen, 2018/09/03
- 174/192: gnu: glibc-mesboot: Update to 2.16.0., Jan Nieuwenhuizen, 2018/09/03
- 68/192: Revert "gnu: binutils-boot: Update to 2.25.", Jan Nieuwenhuizen, 2018/09/03
- 162/192: gnu: Add glibc-mesboot 2.3.6. WIP, Jan Nieuwenhuizen, 2018/09/03
- 79/192: gnu: glibc-boot: Update to 2.2.5., Jan Nieuwenhuizen, 2018/09/04
- 78/192: gnu: Add glibc-boot 2.0.1., Jan Nieuwenhuizen, 2018/09/04