]> code.ossystems Code Review - meta-freescale.git/commit
imx-vpu-hantro: fix build issue
authorGary Bisson <gary.bisson@boundarydevices.com>
Wed, 3 Oct 2018 10:24:42 +0000 (12:24 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 4 Oct 2018 15:43:42 +0000 (12:43 -0300)
commit387b285adc25aa244bfe90f4083320304af237c5
tree1b1366e64450778148a834c4d01ab1493a215e92
parentb9d5f039c61ee106be048fd31bb2b0531beb7b02
imx-vpu-hantro: fix build issue

The source code uses LINUX_VERSION_CODE at many places which constraints
the package to be built with a toolchain whose headers match the kernel.

This is a far from ideal solution, especially if one wants to use a
prebuilt toolchain (with unknown kernel header version).

So change the CFLAGS to consider the kernel build folder so that the
Linux version test actually matches the kernel built.

Signed-off-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 [new file with mode: 0644]
recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.8.0.bb