anchor.diff:  { stdenv, fetchFromGitHub, buildPackages }:
   
   let
  -  buildArmTrustedFirmware = { targetPlatforms
  -            , filesToInstall
  +  buildArmTrustedFirmware = { filesToInstall
               , installDir ? "$out"
               , platform
               , extraMakeFlags ? []
  
positive.code:   armTrustedFirmwareRK3328 = buildArmTrustedFirmware rec {
      extraMakeFlags = [ "bl31" ];
      platform = "rk3328";
      targetPlatforms = ["aarch64-linux"];
      filesToInstall = [ "build/${platform}/release/bl31/bl31.elf"];
    };
  }
  
negative.code:       sha256 = "0lbipkxb01w97r6ah8wdbwxir3013rp249fcqhlzh2gjwhp5l1ys";
      };
      platform = "sun50iw1p1";
      extraMeta.platforms = ["aarch64-linux"];
      filesToInstall = ["build/${platform}/release/bl31.bin"];
    };
  
    armTrustedFirmwareQemu = buildArmTrustedFirmware rec {
      platform = "qemu";
      extraMeta.platforms = ["aarch64-linux"];
      filesToInstall = [
        "build/${platform}/release/bl1.bin"
        "build/${platform}/release/bl2.bin"
  