Skip to content

Commit

Permalink
ubootTools: fix cross-compile
Browse files Browse the repository at this point in the history
The mkimage tool requires openssl for the host platform.
  • Loading branch information
jmbaur committed Oct 4, 2023
1 parent d5adf32 commit 1b6f79e
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions pkgs/misc/uboot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ let

nativeBuildInputs = [
ncurses # tools/kwboot
libuuid # tools/mkeficapsule
gnutls # tools/mkeficapsule
bc
bison
flex
Expand All @@ -71,11 +73,7 @@ let
];
depsBuildBuild = [ buildPackages.stdenv.cc ];

buildInputs = [
ncurses # tools/kwboot
libuuid # tools/mkeficapsule
gnutls # tools/mkeficapsule
];
strictDeps = true;

hardeningDisable = [ "all" ];

Expand Down Expand Up @@ -131,6 +129,13 @@ in {

outputs = [ "out" "man" ];

buildInputs = [
ncurses # tools/kwboot
libuuid # tools/mkeficapsule
gnutls # tools/mkeficapsule
openssl # tools/mkimage
];

postInstall = ''
installManPage doc/*.1
'';
Expand Down

0 comments on commit 1b6f79e

Please sign in to comment.