blackmagic: unstable-2020-02-20 -> unstable-2020-08-05

- Fixes build.
- `libftdi`, `pc-hosted`, and `pc-stlinkv2` platforms are replaced by
  `hosted`.
This commit is contained in:
Daniël de Kok 2020-08-09 10:46:01 +02:00
parent 57d4c67fb8
commit c8b3a0a9bd
2 changed files with 5 additions and 13 deletions

View file

@ -7,15 +7,15 @@ with lib;
stdenv.mkDerivation rec {
pname = "blackmagic";
version = "unstable-2020-02-20";
version = "unstable-2020-08-05";
# `git describe --always`
firmwareVersion = "v1.6.1-409-g7a595ea";
firmwareVersion = "v1.6.1-539-gdd74ec8";
src = fetchFromGitHub {
owner = "blacksphere";
repo = "blackmagic";
rev = "7a595ead255f2a052fe4561c24a0577112c9de84";
sha256 = "01kdm1rkj7ll0px882crf9w27d2ka8f3hcdmvhb9jwd60bf5dlap";
rev = "dd74ec8e6f734302daa1ee361af88dfb5043f166";
sha256 = "18w8y64fs7wfdypa4vm3migk5w095z8nbd8qp795f322mf2bz281";
fetchSubmodules = true;
};

View file

@ -23,18 +23,10 @@ make_platform() {
make clean
make PROBE_HOST="$1"
if [ "$1" = "libftdi" ]; then
if [ "$1" = "hosted" ]; then
install -m 0555 blackmagic "$out/bin"
fi
if [ "$1" = "pc-hosted" ]; then
install -m 0555 blackmagic_hosted "$out/bin"
fi
if [ "$1" = "pc-stlinkv2" ]; then
install -m 0555 blackmagic_stlinkv2 "$out/bin"
fi
for f in $PRODUCTS; do
if [ -r "$f" ]; then
mkdir -p "$out/firmware/$1"