Skip to content

Commit

Permalink
main/u-boot-tools: update to 2024.10
Browse files Browse the repository at this point in the history
  • Loading branch information
q66 committed Oct 27, 2024
1 parent 2d39722 commit b9fb9ee
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
29 changes: 29 additions & 0 deletions main/u-boot-tools/patches/swig43.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
--- a/scripts/dtc/pylibfdt/libfdt.i_shipped
+++ b/scripts/dtc/pylibfdt/libfdt.i_shipped
@@ -1037,7 +1037,7 @@ typedef uint32_t fdt32_t;
fdt_string(fdt1, fdt32_to_cpu($1->nameoff)));
buff = PyByteArray_FromStringAndSize(
(const char *)($1 + 1), fdt32_to_cpu($1->len));
- resultobj = SWIG_Python_AppendOutput(resultobj, buff);
+ resultobj = SWIG_AppendOutput(resultobj, buff);
}
}

@@ -1076,7 +1076,7 @@ typedef uint32_t fdt32_t;

%typemap(argout) int *depth {
PyObject *val = Py_BuildValue("i", *arg$argnum);
- resultobj = SWIG_Python_AppendOutput(resultobj, val);
+ resultobj = SWIG_AppendOutput(resultobj, val);
}

%apply int *depth { int *depth };
@@ -1092,7 +1092,7 @@ typedef uint32_t fdt32_t;
if (PyTuple_GET_SIZE(resultobj) == 0)
resultobj = val;
else
- resultobj = SWIG_Python_AppendOutput(resultobj, val);
+ resultobj = SWIG_AppendOutput(resultobj, val);
}
}

4 changes: 2 additions & 2 deletions main/u-boot-tools/template.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname = "u-boot-tools"
pkgver = "2024.04"
pkgver = "2024.10"
pkgrel = 0
build_style = "makefile"
make_build_target = "tools-all"
Expand Down Expand Up @@ -31,7 +31,7 @@
license = "GPL-2.0-or-later"
url = "https://www.denx.de/wiki/U-Boot"
source = f"https://ftp.denx.de/pub/u-boot/u-boot-{pkgver}.tar.bz2"
sha256 = "18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a"
sha256 = "b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0"
hardening = ["vis", "cfi"]
# weird test suite
options = ["!check"]
Expand Down

0 comments on commit b9fb9ee

Please sign in to comment.