aboutsummaryrefslogtreecommitdiff
path: root/pkgs/misc/uboot/default.nix
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-03-16 19:27:01 +0200
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-13 16:12:11 -0400
commitd884ece1daa254b39c0fae9910bde0771c8fd496 (patch)
treea47894eb8e42904374387fd9251a99719d49b0a8 /pkgs/misc/uboot/default.nix
parentf2ea9e0ebf32754c0a9ad3ff5385b943b48bae3f (diff)
U-Boot: Make ubootJetsonTK1 install even more files
(cherry picked from commit 4fe75d11b2efdd3325ee8eaa4347626f1a950dbd) (cherry picked from commit a68e60f450b5be76d40627066b2c34a0e2360fab)
Diffstat (limited to '')
-rw-r--r--pkgs/misc/uboot/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index 4a96deadaea2..807bc48a6428 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -147,6 +147,11 @@ in rec {
defconfig = "jetson-tk1_defconfig";
extraMeta.platforms = ["armv7l-linux"];
filesToInstall = ["u-boot" "u-boot.dtb" "u-boot-dtb-tegra.bin" "u-boot-nodtb-tegra.bin"];
+ # tegra-uboot-flasher expects this exact directory layout, sigh...
+ postInstall = ''
+ mkdir -p $out/spl
+ cp spl/u-boot-spl $out/spl/
+ '';
};
ubootOdroidXU3 = buildUBoot rec {