]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-vpu-hantro: Fix h1 encoder build issue
authorYuqing Zhu <carol.zhu@nxp.com>
Tue, 9 Oct 2018 02:16:19 +0000 (02:16 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 15 Oct 2018 12:15:01 +0000 (09:15 -0300)
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>
recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0002-Fix-version.h-inclusion-to-be-from-kernel-build-fold.patch

index e9bf925740a54bde2fd9fc92003f39ee6b0fb654..9d54223109c257308fe3e23237910f54564305e2 100644 (file)
@@ -34,7 +34,7 @@ index 56b4332..0be43ce 100755
  ENV += -I$(LINUX_KERNEL_ROOT)/drivers/staging/android/uapi
  
 +# LINUX_VERSION_CODE from kernel build folder instead of toolchain headers
-+INCLUDE_HEADERS += -I$(LINUX_KERNEL_BUILD)/include/generated/uapi
++ENV += -I$(LINUX_KERNEL_BUILD)/include/generated/uapi
 +
  LIBENCNAME = libcodec_enc
  LIBSENC = -L./ -lhantro_h1 -lpthread