me
/
guix
Archived
1
0
Fork 0
Commit Graph

214 Commits (5c6ebc0060e19b78ca2cca3b4cfc552511205c8a)

Author SHA1 Message Date
Efraim Flashner 1acd0bf826
gnu: u-boot-sifive-unmatched: Build with opensbi.
* gnu/packages/bootloaders.scm (u-boot-sifive-unmatched)[arguments]: Add
phase to set location of opensbi firmware.
[inputs]: Add opensbi-generic.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2021-12-30 20:11:13 -08:00
Ludovic Courtès 8394619bac
gnu: Simplify package inputs.
This commit was obtained by running:

  ./pre-inst-env guix style

without any additional argument.
2021-12-13 17:48:25 +01:00
Ricardo Wurmus 9bc0f45df5
Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-12-05 19:17:41 +01:00
Pierre Langlois bf1e46e959
gnu: u-boot: Fix rk3399 boot from emmc.
* gnu/packages/bootloaders.scm (%u-boot-rk3399-enable-emmc-phy-patch): New
variable.
(u-boot)[origin]: Register it.
* gnu/packages/patches/u-boot-rk3399-enable-emmc-phy.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-11-27 15:03:33 +00:00
Ludovic Courtès 3a317f7476
Merge branch 'master' into core-updates-frozen 2021-11-17 23:43:14 +01:00
Vagrant Cascadian 2ebcc5387b
gnu: u-boot, u-boot-am335x-boneblack, u-boot-novena: Fix lint warnings.
* gnu/packages/bootloaders.scm (u-boot)[description]: Add second space after
  sentence.
  (u-boot-am335x-boneblack)[description]: Likewise.
  (u-boot-novena)[description]: Likewise.
2021-11-14 13:47:51 -08:00
Efraim Flashner bc5155b952
Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-10-31 14:49:47 +02:00
Vagrant Cascadian 65be27dcfd
gnu: u-boot: Update to 2021.10.
* gnu/packages/bootloaders.scm (%u-boot-allow-disabling-openssl-patch): New variable.
  (u-boot): Update to 2021.10.
  Add patch fixing build without openssl.
  (u-boot-qemu-riscv64-smode):
  Add patch fixing build without openssl.
  (u-boot-tools): Adjust phases to disable CONFIG_TOOLS_LIBCRYPTO.
  (make-u-boot-package): Add phase disabling CONFIG_TOOLS_LIBCRYPTO.
* gnu/packages/patches/u-boot-allow-disabling-openssl.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add patch.
2021-10-24 13:51:37 -07:00
Mathieu Othacehe a1eca979fb
Merge remote-tracking branch 'origin/master' into core-updates-frozen. 2021-10-12 17:46:23 +00:00
Tobias Geerinckx-Rice 5d26e2ee2b
gnu: os-prober: Update to 1.79.
* gnu/packages/bootloaders.scm (os-prober): Update to 1.79.
2021-10-03 19:23:49 +02:00
Mathieu Othacehe 26cb0c3960
gnu: syslinux: Fix build.
* gnu/packages/patches/syslinux-gcc10.patch: New file.
* gnu/packages/patches/syslinux-strip-gnu-property.patch: New file.
* gnu/local.mk (DIST_PATCH_DATA): Add them.
* gnu/packages/bootloaders.scm (syslinux)[source]: Use them.
[arguments]: Only strip debug symbols.
2021-09-28 12:39:30 +00:00
Marius Bakke 06f47e0256
gnu: u-boot-tools: Install the 'kwboot' executable.
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]: Install one more
file.
2021-09-23 12:05:53 +02:00
Mathieu Othacehe 650e85d855
gnu: grub: Strip debug symbols.
This is a follow-up of 71aa29911c. Grub does not
support modules stripped with --strip-unneeded but supports the --strip-debug
option.

* gnu/packages/bootloaders.scm (grub)[arguments]<#:strip-binaries>: Set to
true and use ...
<#:strip-flags>: ... to pass --strip-debug instead of --strip-unneeded.
2021-09-20 09:12:01 +00:00
Mathieu Othacehe 71aa29911c
gnu: grub: Do not strip modules.
* gnu/packages/bootloaders.scm (grub)[arguments]<#:strip-binaries>: Set to
false to prevent Grub modules stripping.
2021-09-19 16:49:30 +02:00
Ludovic Courtès d9dfbf886d
Merge branch 'master' into core-updates-frozen 2021-09-07 14:19:08 +02:00
Danny Milosavljevic dd7df191b6
gnu: u-boot-nintendo-nes-classic-edition: Make it actually boot again.
* gnu/packages/patches/u-boot-nintendo-nes-serial.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add u-boot-nintendo-nes-serial.patch.
* gnu/packages/bootloaders.scm (u-boot-nintendo-nes-classic-edition): Downgrade to 2018.11.
[source]: Add patch.
[description]: Modify.
[native-inputs]: Add python-2.
2021-09-05 23:45:29 +02:00
Marius Bakke c4133c43c7
Merge branch 'master' into core-updates-frozen
Conflicts:
	gnu/packages/algebra.scm
	gnu/packages/games.scm
	gnu/packages/golang.scm
	gnu/packages/kerberos.scm
	gnu/packages/mail.scm
	gnu/packages/python.scm
	gnu/packages/ruby.scm
	gnu/packages/scheme.scm
	gnu/packages/tex.scm
	gnu/packages/tls.scm
	gnu/packages/version-control.scm
2021-08-12 00:30:27 +02:00
Marius Bakke d2e102d4e4
Merge branch 'master' into core-updates-frozen 2021-08-01 23:23:32 +02:00
Pierre Langlois adb84ae8ea
gnu: u-boot-rockpro64-rk3399: Enable 'set-environment phase.
Fixes <https://bugs.gnu.org/49550>.

* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399)[arguments]: Run
'set-environment phase after 'unpack instead of non-existent
'patch-rockpro64-config phase.
2021-07-31 12:31:04 +01:00
Maxim Cournoyer e81228166e
gnu: web: Move libyaml and libcyaml to (gnu packages serialization).
Files to be adjusted were searched with the following command:

 $ git ls-files | xargs grep -l -E ',libc?yaml' | \
       xargs grep -L '(gnu packages serialization)'

* gnu/packages/web.scm (libyaml, libyaml+static, libcyaml): Move to...
* gnu/packages/serialization.scm: ... here.
2021-07-29 22:03:33 -04:00
Pierre Langlois e914fc5913
gnu: Rename u-boot-sifive-fu540 to sifive-unleashed.
* gnu/packages/bootloaders.scm (u-boot-sifive-fu540): Rename to ...
(u-boot-sifive-unleashed): ... this.  Change board name from sifive_fu540 to
sifive_unleashed.
* gnu/packages/patches/u-boot-riscv64-fix-extlinux.patch: Rename sifive_fu540
to sifive_unleashed.
2021-08-05 13:42:50 +01:00
Pierre Langlois 781123518e
gnu: u-boot-vexpress: Remove package.
Upstream no longer supports the platform and we don't expect any users out
there, see <https://bugs.gnu.org/49552>.

* gnu/packages/bootloaders.scm (u-boot-vexpress): Remove variable.
2021-08-05 13:41:50 +01:00
Pierre Langlois eb46c6c5c8
gnu: u-boot: Update to 2021.07.
* gnu/packages/patches/u-boot-sifive-prevent-reloc-initrd-fdt.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bootloaders.scm (%u-boot-sifive-prevent-relocating-initrd-fdt):
New variable.
(u-boot): Update to 2021.07.
[native-inputs]: Add python-pycryptodomex.
(u-boot-2021.07): Delete variable.
(u-boot-tools)[arguments]: Adapt 'patch phase, disable failing test_spl test.
(u-boot-sifive-unmatched): Use default u-boot package.
(u-boot-pinebook-pro-rk3328): Use default u-boot package.
2021-08-02 13:23:32 +01:00
Ludovic Courtès d468a03a00
gnu: Use 'search-input-directory' and 'search-input-file' where appropriate.
This changes some of the remaining uses of this idiom:

  (string-append (assoc-ref inputs "LABEL") "FILE")

to one of:

  (search-input-file inputs "FILE")
  (search-input-directory inputs "FILE")

* gnu/packages/axoloti.scm (axoloti-patcher): Use
'search-input-directory'.
(axoloti-patcher-next): Likewise.
* gnu/packages/bioinformatics.scm (java-picard): Likewise.
* gnu/packages/bootloaders.scm (grub-hybrid): Likewise.
(u-boot-puma-rk3399): Likewise.
(u-boot-rock64-rk3328): Likewise.
(u-boot-firefly-rk3399): Likewise.
(u-boot-rockpro64-rk3399): Likewise.
(u-boot-pinebook-pro-rk3399): Likewise.
* gnu/packages/cran.scm (r-shiny): Likewise.
(r-shinytree): Likewise.
* gnu/packages/education.scm (anki): Likewise.
* gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte): Likewise.
(emacs-rime): Likewise.
* gnu/packages/emulators.scm (dolphin-emu): Likewise.
* gnu/packages/games.scm (bsd-games): Likewise.
(seahorse-adventures): Likewise.
(einstein): Likewise.
* gnu/packages/gimp.scm (gimp-fourier): Likewise.
* gnu/packages/gnome.scm (gspell): Likewise.
* gnu/packages/guile-xyz.scm (guile-libyaml): Likewise.
* gnu/packages/java.scm (icedtea-7): Likewise.
* gnu/packages/language.scm (nimf): Likewise.
* gnu/packages/lxde.scm (spacefm): Likewise.
* gnu/packages/mail.scm (claws-mail): Likewise.
* gnu/packages/netpbm.scm (netpbm): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
* gnu/packages/scheme.scm (scm): Likewise.
* gnu/packages/security-token.scm (python-fido2): Likewise.
* gnu/packages/syndication.scm (rtv): Likewise.
* gnu/packages/tls.scm (acme-client): Likewise.
* gnu/packages/web.scm (netsurf): Likewise.
* gnu/packages/wine.scm (wine-staging): Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets): Likewise.
2021-07-24 16:23:24 +02:00
Ludovic Courtès bc64d9554b
gnu: Use 'search-input-file' when looking for executables.
* gnu/packages/admin.scm (isc-dhcp): Use 'search-input-file' when
looking for executables.
* gnu/packages/audio.scm (ableton-link): Likewise.
* gnu/packages/benchmark.scm (fio): Likewise.
* gnu/packages/bioinformatics.scm (roary): Likewise.
(ngless): Likewise.
* gnu/packages/boost.scm (boost-for-irods): Likewise.
* gnu/packages/bootloaders.scm (grub): Likewise.
(grub-efi): Likewise.
* gnu/packages/chemistry.scm (inchi): Likewise.
* gnu/packages/dictionaries.scm (ding): Likewise.
* gnu/packages/dlang.scm (ldc): Likewise.
* gnu/packages/education.scm (childsplay): Likewise.
* gnu/packages/emacs-xyz.scm (emacs-hyperbole): Likewise.
(emacs-haskell-mode): Likewise.
(emacs-auctex): Likewise.
(emacs-ggtags): Likewise.
(emacs-graphviz-dot-mode): Likewise.
(emacs-flycheck-grammalecte): Likewise.
(emacs-counsel-notmuch): Likewise.
(emacspeak): Likewise.
(emacs-exwm): Likewise.
(emacs-exwm-x): Likewise.
(emacs-treemacs): Likewise.
(emacs-telega): Likewise.
(emacs-exiftool): Likewise.
* gnu/packages/emulators.scm (higan): Likewise.
* gnu/packages/engineering.scm (freehdl): Likewise.
(librepcb): Likewise.
* gnu/packages/entr.scm (entr): Likewise.
* gnu/packages/file-systems.scm (libeatmydata): Likewise.
(xfstests): Likewise.
(mergerfs): Likewise.
(mergerfs-tools): Likewise.
* gnu/packages/finance.scm (monero-gui): Likewise.
* gnu/packages/flashing-tools.scm (flashrom): Likewise.
* gnu/packages/fontutils.scm (fontforge): Likewise.
* gnu/packages/game-development.scm (python2-renpy): Likewise.
* gnu/packages/games.scm (opensurge): Likewise.
(xboard): Likewise.
(hyperrogue): Likewise.
(flare-game): Likewise.
(chessx): Likewise.
* gnu/packages/geo.scm (grass): Likewise.
* gnu/packages/glib.scm (glib): Likewise.
* gnu/packages/gnome.scm (mm-common): Likewise.
(network-manager-openvpn): Likewise.
(network-manager-vpnc): Likewise.
(network-manager-openconnect): Likewise.
(apostrophe): Likewise.
* gnu/packages/gnupg.scm (pius): Likewise.
(jetring): Likewise.
* gnu/packages/gnuzilla.scm (icedove): Likewise.
* gnu/packages/golang.scm (go-1.4): Likewise.
* gnu/packages/graphviz.scm (xdot): Likewise.
* gnu/packages/guile-xyz.scm (jupyter-guile-kernel): Likewise.
* gnu/packages/haskell-xyz.scm (ghc-hindent): Likewise.
* gnu/packages/ibus.scm (ibus): Likewise.
* gnu/packages/image.scm (phockup): Likewise.
* gnu/packages/irc.scm (quassel): Likewise.
* gnu/packages/java.scm (drip): Likewise.
(ant-bootstrap): Likewise.
(tla2tools): Likewise.
* gnu/packages/julia.scm (julia): Likewise.
* gnu/packages/less.scm (lesspipe): Likewise.
* gnu/packages/libreoffice.scm (libreoffice): Likewise.
* gnu/packages/linux.scm (fuse): Likewise.
(lm-sensors): Likewise.
(bluez): Likewise.
(fakeroot): Likewise.
(inputattach): Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-cl-diskspace): Likewise.
* gnu/packages/lisp.scm (lisp-repl-core-dumper): Likewise.
* gnu/packages/lua.scm (fennel): Likewise.
* gnu/packages/lxde.scm (spacefm): Likewise.
* gnu/packages/mail.scm (public-inbox): Likewise.
* gnu/packages/maths.scm (hdf-java): Likewise.
(maxima): Likewise.
(frama-c): Likewise.
* gnu/packages/messaging.scm (libgadu): Likewise.
* gnu/packages/music.scm (denemo): Likewise.
(curseradio): Likewise.
* gnu/packages/netpbm.scm (netpbm): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
(squid): Likewise.
(aircrack-ng): Likewise.
* gnu/packages/node.scm (node): Likewise.
(node-llparse-frontend-bootstrap): Likewise.
(node-llparse-bootstrap): Likewise.
(llhttp-bootstrap): Likewise.
(node-lts): Likewise.
* gnu/packages/ocaml.scm (ocaml-4.11): Likewise.
(opam): Likewise.
(ocaml-graph): Likewise.
* gnu/packages/orpheus.scm (orpheus): Likewise.
* gnu/packages/password-utils.scm (password-store): Likewise.
* gnu/packages/python.scm (pypy3): Likewise.
* gnu/packages/qt.scm (qt5ct): Likewise.
* gnu/packages/radio.scm (libosmo-dsp): Likewise.
* gnu/packages/ruby.scm (ruby-pandoc-ruby): Likewise.
* gnu/packages/rust.scm (rust-1.30): Likewise.
* gnu/packages/screen.scm (byobu): Likewise.
* gnu/packages/statistics.scm (r-with-tests): Likewise.
* gnu/packages/suckless.scm (surf): Likewise.
* gnu/packages/syndication.scm (gfeeds): Likewise.
* gnu/packages/telephony.scm (mumble): Likewise.
* gnu/packages/terminals.scm (alacritty): Likewise.
* gnu/packages/tex.scm (texlive-bin): Likewise.
* gnu/packages/uml.scm (plantuml): Likewise.
* gnu/packages/version-control.scm (python-git-multimail): Likewise.
(gitolite): Likewise.
(hg-commitsigs): Likewise.
(git-when-merged): Likewise.
(git-imerge): Likewise.
(gita): Likewise.
* gnu/packages/video.scm (you-get): Likewise.
* gnu/packages/vim.scm (eovim): Likewise.
* gnu/packages/virtualization.scm (qemu): Likewise.
(virt-manager): Likewise.
(criu): Likewise.
* gnu/packages/vpn.scm (strongswan): Likewise.
(xl2tpd): Likewise.
* gnu/packages/wm.scm (i3lock-fancy): Likewise.
* gnu/packages/wxwidgets.scm (python-wxpython): Likewise.
(python2-wxpython): Likewise.
* gnu/packages/xdisorg.scm (autorandr): Likewise.
* gnu/packages/xorg.scm (hackneyed-x11-cursors): Likewise.
(v86d): Likewise.
(mkfontdir): Likewise.
(xpra): Likewise.
2021-07-24 16:23:23 +02:00
Christopher Baines fd549750d9
gnu: grub-efi: Only enable the stack protector on x86_64-linux.
Follow up to 018f950941, as gcc on aarch64-linux
doesn't seem to support -mstack-protector-guard=global.

Fixes <https://bugs.gnu.org/49088>.

* gnu/packages/bootloaders.scm (grub-efi)[arguments]: Only add
"--enable-stack-protector" to #:configure-flags when system is x86_64-linux.
2021-07-02 00:01:14 +01:00
Marius Bakke c87ebc1b31
gnu: QEMU: Update to 6.0.0.
* gnu/packages/patches/qemu-build-info-manual.patch: Adjust for 6.0.
* gnu/packages/virtualization.scm (qemu): Update to 6.0.0.
[source](snippet): Remove obsolete substitution.
[arguments]: Adjust test substitutions for upstream changes.
* gnu/packages/bootloaders.scm (grub)[source](modules, snippet): New fields.
2021-06-13 15:33:57 +02:00
Tobias Geerinckx-Rice 018f950941
gnu: grub-efi: Enable the stack protector.
* gnu/packages/bootloaders.scm (grub-efi)[arguments]:
Add "--enable-stack-protector" to #:configure-flags.
2021-06-12 20:58:16 +02:00
Tobias Geerinckx-Rice 2d115ea7ed
gnu: grub: Update to 2.06.
[source]: Remove upstreamed patches.
* gnu/packages/patches/grub-setup-root.patch: Update patch.
* gnu/packages/patches/grub-verifiers-Blocklist-fallout-cleanup.patch,
gnu/packages/patches/grub-cross-system-i686.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2021-06-12 20:58:16 +02:00
Tobias Geerinckx-Rice 402f544c29
gnu: dtc: Update to 1.6.1.
* gnu/packages/bootloaders.scm (dtc): Update to 1.6.1.
2021-06-11 00:37:14 +02:00
Efraim Flashner df3a60d16f
gnu: Add u-boot-sifive-unmatched.
* gnu/packages/bootloaders.scm (u-boot-sifive-unmatched): New variable.
2021-06-08 11:06:42 +03:00
Efraim Flashner 024187c049
gnu: u-boot-2021.07: Update to 2021.07-rc4.
* gnu/packages/bootloaders.scm (u-boot-2021.07): Update to 2021.07-rc4.
2021-06-08 11:06:37 +03:00
Vagrant Cascadian eb305784bf
gnu: u-boot-pinebook-pro-rk3399: Update to version 2021.07-rc1.
Version 2021.07-rc1 supports video output on the eDP panel.

* gnu/packages/bootloaders.scm (u-boot-2021.07): New variable.
  (u-boot-pinebook-pro-rk3399)[source, version]: Use u-boot-2021.07.
2021-05-01 14:13:50 -07:00
Vagrant Cascadian 3a851d4557
gnu: u-boot: Patch to fix boot regressions for some platforms.
The previous workaround stopped the preboot phase from loading USB
support, which makes it impossible to use a USB keyboard to select a
generation from the boot menu without using a serial console.

* gnu/packages/patches/u-boot-rockchip-inno-usb.patch: New File.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/bootloaders.scm (%u-boot-rockchip-inno-usb-patch): New variable.
  (u-boot)[source]: Add patch.
  (u-boot-rockpro64-rk3399, u-boot-pinebook-pro-rk3399): Remove obsolete phase.
2021-05-01 14:12:08 -07:00
Vagrant Cascadian 084d3cac2b
gnu: ipxe: Fix grammar.
* gnu/packages/bootloaders.scm (ipxe)[description]: Remove gratuitous
  use of "allows to".
2021-04-21 08:32:49 -07:00
Vagrant Cascadian 98067662f6
gnu: u-boot: Update to 2021.04.
* gnu/packages/bootloaders (u-boot): Update to 2021.04.
  [source]: Use https URL.
2021-04-11 01:00:57 -07:00
Tobias Geerinckx-Rice 6900105334
gnu: os-prober: Update to 1.78.
* gnu/packages/bootloaders.scm (os-prober): Update to 1.78.
2021-03-11 00:46:01 +01:00
Vagrant Cascadian 15990546a5
gnu: u-boot-puma-rk3399: Switch to using arm-trusted-firmware-rk3399.
* gnu/packages/bootloaders.scm (u-boot-puma-rk3399)[native-inputs]:
  Add arm-trusted-firmware-rk3399.
  Remove arm-trusted-firmware-puma-rk3399 and rk3399-cortex-m0.
* gnu/packages/firmware.scm (arm-trusted-firmware-puma-rk3399,
  rk3399-cortex-m0): Remove obsolete variables.
* gnu/bootloader/u-boot.scm (install-puma-rk3399-u-boot): Install
  idbloader.img.
2021-02-08 07:18:41 -08:00
Vagrant Cascadian 0424d1fffd
gnu: u-boot: Update to 2021.01.
* gnu/packages/bootloaders (u-boot): Update to 2021.01.
  (u-boot-pinebook-pro-rk3399): Add patch-pinebook-pro-config phase.
2021-02-08 07:18:35 -08:00
Vincent Legoll ca34b6f045
gnu: ipxe: Update to 1.21.1.
* gnu/packages/bootloaders.scm (ipxe): Update to 1.21.1.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2021-01-14 01:31:06 +01:00
Vincent Legoll aeed7218a9
gnu: Add ipxe.
* gnu/packages/bootloaders.scm (ipxe): New variable.
* gnu/packages/patches/ipxe-reproducible-geniso.patch: New file …
* gnu/local.mk (dist_patch_DATA): … add it.

Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr>
Co-authored-by: Brice Waegeneire <brice@waegenei.re>
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2021-01-14 01:17:04 +01:00
Caliph Nomble 219612904c
gnu: u-boot-rockpro64-rk3399: Fix freeze on boot.
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399)[arguments]<#:phases>
[patch-rockpro64-config]: Build with modified config to prevent freeze on boot
due to usb being enabled.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-12-29 13:28:16 +01:00
Danny Milosavljevic 7d440cdbfd
Revert "gnu: u-boot: Fix freeze on boot with u-boot-rockpro64-rk3399."
because it was applied to the wrong u-boot.

This reverts commit d980e6e275.
2020-12-29 13:25:47 +01:00
Caliph Nomble via Guix-patches via d980e6e275
gnu: u-boot: Fix freeze on boot with u-boot-rockpro64-rk3399.
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399)[arguments]<#:phases>
[patch-rockpro64-config]: Build with modified config to prevent freeze on boot
due to usb being enabled.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-12-28 19:36:38 +01:00
Marius Bakke 4ed96d6831
gnu: dtc: Update to 1.6.0.
* gnu/packages/bootloaders.scm (dtc): Update to 1.6.0.
2020-12-20 16:30:42 +01:00
Ludovic Courtès 097b725532
gnu: grub-minimal: Fix cross-compilation.
Fixes a regression introduced in
34a6f12351 that would break
cross-compilation of 'grub-minimal' because it would enable Freetype
support as a side effect but the 'set-freetype-variables' phase was not
inherited in 'grub-minimal'.

* gnu/packages/bootloaders.scm (grub-minimal)[arguments]: Use
'substitute-keyword-arguments' so that the 'set-freetype-variables'
phase is inherited.
2020-11-24 10:40:39 +01:00
Efraim Flashner 77b7d990ec
gnu: grub: Fix cross-compiling for other architectures.
Reported by cbaines and xelxebar on IRC.

* gnu/packages/bootloaders.scm (grub)[arguments]: In custom
'set-freetype-variables phase only use the native-inputs version of
freetype.
2020-11-23 15:43:32 +02:00
Efraim Flashner 34a6f12351
gnu: grub: Cross-compile for mips64el-linux.
* gnu/packages/bootloaders.scm (grub)[arguments]: Add custom phase to
set BUILD_FREETYPE_* flags.
[native-inputs]: Add freetype.
2020-11-16 22:38:15 +02:00
Efraim Flashner 66f769122f
gnu: grub: Don't run tests when cross compiling.
* gnu/packages/bootloaders.scm (grub)[arguments]: Skip tests when
cross-compiling.
2020-11-16 22:38:15 +02:00
Efraim Flashner 6cc86492db
gnu: dtc: Cross compile.
* gnu/packages/bootloaders.scm (dtc)[arguments]: Use cc-for-target in
make-flags. Add custom phase to use correct pkg-config for target.
2020-11-16 13:03:00 +02:00