mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 22:16:32 +01:00
gnu: u-boot-ts7970-q-2g-1000mhz-c: Fix build.
* gnu/packages/bootloaders.scm (u-boot-ts-mx6) [arguments]: Replace adjust-for-gcc10 phase with adjust-for-current-gcc.
This commit is contained in:
parent
55d5771ff0
commit
14888e5b25
1 changed files with 7 additions and 4 deletions
|
@ -17,7 +17,7 @@
|
|||
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
|
||||
;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
||||
;;; Copyright © 2021 Stefan <stefan-guix@vodafonemail.de>
|
||||
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -1484,10 +1484,13 @@ (define u-boot-ts-mx6
|
|||
"U_BOOT_DATE \"Jan 01 1969\"")
|
||||
(("U_BOOT_TIME \"%T\"")
|
||||
"U_BOOT_TIME \"00:00:00\""))))
|
||||
(add-before 'build 'adjust-for-gcc10
|
||||
(add-before 'build 'adjust-for-current-gcc
|
||||
(lambda _
|
||||
(copy-file "include/linux/compiler-gcc6.h"
|
||||
"include/linux/compiler-gcc10.h")
|
||||
(let ((gcc-major-version #$(version-major
|
||||
(package-version gcc))))
|
||||
(copy-file "include/linux/compiler-gcc6.h"
|
||||
(string-append "include/linux/compiler-gcc"
|
||||
gcc-major-version ".h")))
|
||||
(substitute* "arch/arm/Makefile"
|
||||
(("march=armv5")
|
||||
"march=armv5te"))))
|
||||
|
|
Loading…
Reference in a new issue