vboot_reference: build all the tools
This expands the build to include more things that are useful on chromebooks, like `crossystem`
This commit is contained in:
@@ -17,17 +17,17 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildPhase = ''
|
||||
patches = [ ./dont_static_link.patch ];
|
||||
|
||||
preBuild = ''
|
||||
patchShebangs scripts
|
||||
make -j''${NIX_BUILD_CORES:-1} \
|
||||
`pwd`/build/cgpt/cgpt \
|
||||
`pwd`/build/futility/futility
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp build/cgpt/cgpt $out/bin
|
||||
cp build/futility/futility $out/bin
|
||||
makeFlags = [
|
||||
"DESTDIR=$(out)"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/vboot
|
||||
cp -r tests/devkeys* $out/share/vboot/
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user