Skip to content

Commit

Permalink
Remove pre-built dtc binaries
Browse files Browse the repository at this point in the history
Since we aren't always using flash-tools on x86_64-linux, using
pre-built dtc and fdtoverlay doesn't always work. We should prefer the
dtc package that we provide with nix over the pre-built ones nvidia
provides.
  • Loading branch information
jmbaur committed Jul 30, 2024
1 parent 004f323 commit 44c960e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/flash-tools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ let
# We should never be flashing upstream's kernel, so just remove it so we get errors if it is used
#rm -f kernel/Image*
# Remove pre-built binaries for utilities that we already provide with nix
rm -f kernel/{dtc,fdtoverlay}
# Remove the big nv_tegra dir, since its not neede by flash scripts.
# However, save the needed bsp_version file
mv nv_tegra/bsp_version .
Expand Down

0 comments on commit 44c960e

Please sign in to comment.