diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-03-15 09:03:39 +0200 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-05-13 16:12:10 -0400 |
commit | 7dffe0d38c7be19537b9fe67ba24be8c37f96a0c (patch) | |
tree | 501474f1b847d54693260f6ebcbc94ca9fbee92b /pkgs/misc/uboot/default.nix | |
parent | b63124dfc5f4f1f868a8132efc159d99f1b73516 (diff) |
U-Boot: Add AArch64 QEMU build
See
https://github.com/u-boot/u-boot/blob/master/doc/README.qemu-arm
on how to use it.
(cherry picked from commit 6b069c656abf9704662317dc0173f18cdf4dfc91)
(cherry picked from commit eff6d9628c9e0bae2096251f8e97789c0b9afe6f)
Diffstat (limited to '')
-rw-r--r-- | pkgs/misc/uboot/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index dbb2bbef1a4e..b56ca2693570 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -158,6 +158,12 @@ in rec { filesToInstall = ["u-boot-sunxi-with-spl.bin"]; }; + ubootQemuAarch64 = buildUBoot rec { + defconfig = "qemu_arm64_defconfig"; + extraMeta.platforms = ["aarch64-linux"]; + filesToInstall = ["u-boot.bin"]; + }; + ubootQemuArm = buildUBoot rec { defconfig = "qemu_arm_defconfig"; extraMeta.platforms = ["armv7l-linux"]; |