diff options
Diffstat (limited to 'recipes-multimedia/imx-vpuwrap')
-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 | 17 |
2 files changed, 42 insertions, 7 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 new file mode 100644 index 000000000..74ea5206c --- /dev/null +++ b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_encoder-fix-missing-include.patch | |||
@@ -0,0 +1,32 @@ | |||
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 af15e7b1b..39729f712 100644 --- a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb +++ b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb | |||
@@ -1,23 +1,26 @@ | |||
1 | # Copyright (C) 2013-2016 Freescale Semiconductor | 1 | # Copyright (C) 2013-2016 Freescale Semiconductor |
2 | # Copyright 2017-2023 NXP | 2 | # Copyright (C) 2017-2023 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=2827219e81f28aba7c6a569f7c437fa7" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" |
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 = "git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH}" | 13 | SRC_URI = " \ |
14 | SRCBRANCH = "MM_04.08.03_2312_L6.6.y" | 14 | git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH} \ |
15 | SRCREV = "f974cecdb00b4a214e4b5229f2279e772ee43306" | 15 | file://0001-vpu_wrapper_hantro_encoder-fix-missing-include.patch \ |
16 | 16 | " | |
17 | S = "${WORKDIR}/git" | 17 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" |
18 | SRCREV = "d8703ee3245797111ad21c52982efa8b6db33241" | ||
18 | 19 | ||
19 | inherit autotools pkgconfig | 20 | inherit autotools pkgconfig |
20 | 21 | ||
22 | CFLAGS += " -Wno-error=implicit-function-declaration" | ||
23 | |||
21 | do_install:append() { | 24 | do_install:append() { |
22 | # FIXME: Drop examples for now | 25 | # FIXME: Drop examples for now |
23 | rm -r ${D}${datadir} | 26 | rm -r ${D}${datadir} |