kumquat-buildroot/package/freescale-imx/imx-vpu-hantro/0002-Fix-build-with-uclibc-toolchain.patch
Gary Bisson d7f553ba9f package/freescale-imx/imx-vpu-hantro: bump version to 1.15.0
To match NXP BSP 4.19.35-1.1.0 release:
https://source.codeaurora.org/external/imx/meta-fsl-bsp-release/tree/imx/meta-bsp/recipes-bsp/imx-vpu-hantro?h=warrior-4.19.35-1.1.0

Adds support for i.MX8MMini platform (Hantro H1 encoder).

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Tested-by: Laurent Gauthier <laurent.gauthier_1@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-03-30 14:10:27 +02:00

52 lines
1.3 KiB
Diff

From 4f51b0a6b9a36cc56fa06eb0f76596d8e387f980 Mon Sep 17 00:00:00 2001
From: Gary Bisson <gary.bisson@boundarydevices.com>
Date: Fri, 27 Mar 2020 23:17:30 +0100
Subject: [PATCH] Fix build with uclibc toolchain
From: Laurent Gauthier (OSS) <laurent.gauthier_1@oss.nxp.com>
By default, backtrace support is disabled in uclibc. In that case the
execinfo.h header file is missing, producing a build error.
Signed-off-by: Laurent Gauthier (OSS) <laurent.gauthier_1@oss.nxp.com>
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
---
openmax_il/source/dbgmacros.h | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/openmax_il/source/dbgmacros.h b/openmax_il/source/dbgmacros.h
index 3771c91..37ae09f 100755
--- a/openmax_il/source/dbgmacros.h
+++ b/openmax_il/source/dbgmacros.h
@@ -50,13 +50,6 @@
# define __USE_GNU
#endif
-#ifndef ANDROID
-#include <execinfo.h>
-#include <link.h>
-#endif
-#include <dlfcn.h>
-#include <elf.h>
-
/*****************
** DEBUG FLAGS **
*****************/
@@ -76,6 +69,13 @@
#define TRACE_FILE "trace.log"
#endif
+#ifndef ANDROID
+#include <execinfo.h>
+#include <link.h>
+#endif
+#include <dlfcn.h>
+#include <elf.h>
+
#ifdef LOG_IN_FILE
#define TRACE(...) \
{ \
--
2.25.1