[changes brought forward from 4.14.13-1+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Wed, 07 Feb 2018 23:32:32 +0000]
* Disable kernel builds from this package, we build our kernels from other source packages.
+ [changes introduced in 5.15.15-2+rpi1 by Peter Michael Green]
+ * Disable libbfd buildid support, it seems to fail to build.
+
-- Peter Michael Green <plugwash@raspbian.org> Sun, 13 Feb 2022 14:24:17 +0000
linux (5.15.15-2) unstable; urgency=high
--- /dev/null
+Description: Disable libbfd buildid support, it seems to fail to build.
+Author: Peter Michael Green <plugwash@raspbian.org>
+
+--- linux-5.15.15.orig/tools/perf/util/symbol-elf.c
++++ linux-5.15.15/tools/perf/util/symbol-elf.c
+@@ -537,7 +537,7 @@ out:
+ return err;
+ }
+
+-#ifdef HAVE_LIBBFD_BUILDID_SUPPORT
++/*#ifdef HAVE_LIBBFD_BUILDID_SUPPORT
+
+ static int read_build_id(const char *filename, struct build_id *bid)
+ {
+@@ -566,7 +566,7 @@ out_close:
+ return err;
+ }
+
+-#else // HAVE_LIBBFD_BUILDID_SUPPORT
++#else // HAVE_LIBBFD_BUILDID_SUPPORT */
+
+ static int read_build_id(const char *filename, struct build_id *bid)
+ {
+@@ -598,7 +598,7 @@ out:
+ return err;
+ }
+
+-#endif // HAVE_LIBBFD_BUILDID_SUPPORT
++//#endif // HAVE_LIBBFD_BUILDID_SUPPORT
+
+ int filename__read_build_id(const char *filename, struct build_id *bid)
+ {
return err;
}
-#ifdef HAVE_LIBBFD_BUILDID_SUPPORT
+/*#ifdef HAVE_LIBBFD_BUILDID_SUPPORT
static int read_build_id(const char *filename, struct build_id *bid)
{
return err;
}
-#else // HAVE_LIBBFD_BUILDID_SUPPORT
+#else // HAVE_LIBBFD_BUILDID_SUPPORT */
static int read_build_id(const char *filename, struct build_id *bid)
{
return err;
}
-#endif // HAVE_LIBBFD_BUILDID_SUPPORT
+//#endif // HAVE_LIBBFD_BUILDID_SUPPORT
int filename__read_build_id(const char *filename, struct build_id *bid)
{