diff options
| -rw-r--r-- | recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_encoder-fix-missing-include.patch | 32 | ||||
| -rw-r--r-- | recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb | 13 | 
2 files changed, 5 insertions, 40 deletions
diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_encoder-fix-missing-include.patch b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_encoder-fix-missing-include.patch deleted file mode 100644 index 74ea5206c..000000000 --- a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_encoder-fix-missing-include.patch +++ /dev/null  | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | From a3c2f61649afd05e4bab457370f0b32d7644505c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Mon, 3 Mar 2025 08:24:51 +0000 | ||
| 4 | Subject: [PATCH] vpu_wrapper_hantro_encoder: fix missing include | ||
| 5 | |||
| 6 | gettimeofday is declared in sys/time.h. Add the include. | ||
| 7 | |||
| 8 | Fixes the build error: | ||
| 9 | | ../git/vpu_wrapper_hantro_encoder.c:953:3: error: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] | ||
| 10 | | 953 | gettimeofday (&pObj->tvEnd, NULL); | ||
| 11 | |||
| 12 | Upstream-Status: Pending | ||
| 13 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 14 | --- | ||
| 15 | vpu_wrapper_hantro_encoder.c | 1 + | ||
| 16 | 1 file changed, 1 insertion(+) | ||
| 17 | |||
| 18 | diff --git a/vpu_wrapper_hantro_encoder.c b/vpu_wrapper_hantro_encoder.c | ||
| 19 | index 3819c389320c..a0bdb2f4f6c0 100755 | ||
| 20 | --- a/vpu_wrapper_hantro_encoder.c | ||
| 21 | +++ b/vpu_wrapper_hantro_encoder.c | ||
| 22 | @@ -25,6 +25,7 @@ | ||
| 23 | #include <string.h> | ||
| 24 | #include <time.h> | ||
| 25 | #include <semaphore.h> | ||
| 26 | +#include <sys/time.h> | ||
| 27 | |||
| 28 | #include "headers/OMX_Video.h" | ||
| 29 | #include "headers/OMX_VideoExt.h" | ||
| 30 | -- | ||
| 31 | 2.42.0 | ||
| 32 | |||
diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb index 39729f712..1ad735152 100644 --- a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb +++ b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb  | |||
| @@ -1,21 +1,18 @@ | |||
| 1 | # Copyright (C) 2013-2016 Freescale Semiconductor | 1 | # Copyright (C) 2013-2016 Freescale Semiconductor | 
| 2 | # Copyright (C) 2017-2023 NXP | 2 | # Copyright (C) 2017-2023,2025 NXP | 
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) | 
| 4 | 4 | ||
| 5 | DESCRIPTION = "Freescale Multimedia VPU wrapper" | 5 | DESCRIPTION = "Freescale Multimedia VPU wrapper" | 
| 6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" | 
| 7 | SECTION = "multimedia" | 7 | SECTION = "multimedia" | 
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | 
| 9 | 9 | ||
| 10 | DEPENDS = "virtual/imxvpu" | 10 | DEPENDS = "virtual/imxvpu" | 
| 11 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" | 11 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" | 
| 12 | 12 | ||
| 13 | SRC_URI = " \ | 13 | SRC_URI = "git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH}" | 
| 14 | git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH} \ | 14 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" | 
| 15 | file://0001-vpu_wrapper_hantro_encoder-fix-missing-include.patch \ | 15 | SRCREV = "feeb9109a027d3a0f040b0bddb5f79a1daad3587" | 
| 16 | " | ||
| 17 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" | ||
| 18 | SRCREV = "d8703ee3245797111ad21c52982efa8b6db33241" | ||
| 19 | 16 | ||
| 20 | inherit autotools pkgconfig | 17 | inherit autotools pkgconfig | 
| 21 | 18 | ||
