diff options
author | Yuqing Zhu <carol.zhu@nxp.com> | 2018-10-09 02:16:19 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-10-15 09:15:01 -0300 |
commit | 382d502aaeceae64c1532ec835b4f064a347ec3e (patch) | |
tree | 4b191a8ce2910fabb02fb76bb77b28673d188bce /recipes-bsp/imx-vpu-hantro | |
parent | 9ec636e526d667962ae96938f5d81afe56ab93c5 (diff) | |
download | meta-freescale-382d502aaeceae64c1532ec835b4f064a347ec3e.tar.gz |
imx-vpu-hantro: Fix h1 encoder build issue
Modify the environment setting of h1 encoder to
correct include header directory, make LINUX_VERSION_CODE
come from kernel build folder instead of toolchain headers.
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp/imx-vpu-hantro')
-rw-r--r-- | recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0002-Fix-version.h-inclusion-to-be-from-kernel-build-fold.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0002-Fix-version.h-inclusion-to-be-from-kernel-build-fold.patch b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0002-Fix-version.h-inclusion-to-be-from-kernel-build-fold.patch index e9bf9257..9d542231 100644 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0002-Fix-version.h-inclusion-to-be-from-kernel-build-fold.patch +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0002-Fix-version.h-inclusion-to-be-from-kernel-build-fold.patch | |||
@@ -34,7 +34,7 @@ index 56b4332..0be43ce 100755 | |||
34 | ENV += -I$(LINUX_KERNEL_ROOT)/drivers/staging/android/uapi | 34 | ENV += -I$(LINUX_KERNEL_ROOT)/drivers/staging/android/uapi |
35 | 35 | ||
36 | +# LINUX_VERSION_CODE from kernel build folder instead of toolchain headers | 36 | +# LINUX_VERSION_CODE from kernel build folder instead of toolchain headers |
37 | +INCLUDE_HEADERS += -I$(LINUX_KERNEL_BUILD)/include/generated/uapi | 37 | +ENV += -I$(LINUX_KERNEL_BUILD)/include/generated/uapi |
38 | + | 38 | + |
39 | LIBENCNAME = libcodec_enc | 39 | LIBENCNAME = libcodec_enc |
40 | LIBSENC = -L./ -lhantro_h1 -lpthread | 40 | LIBSENC = -L./ -lhantro_h1 -lpthread |