From 3e8aefb1dbb23d6f1da7ea881e7ba977b9f0fba3 Mon Sep 17 00:00:00 2001 From: Yannick Gicquel Date: Mon, 18 Jan 2016 15:07:23 +0100 Subject: gles-module: handle kernel build path in work-shared Since 46cdaf1c7b in poky (v1.8), kernel source and build artefact are in two separated directories. This patch prepares to use STAGING_KERNEL_BUILDDIR as it is used in KBUILD_OUTPUT from modules-base.bbclass It also set this variable to keep same state as before for poky < 1.8 Change-Id: Ie27593407a85d88da28b8a91c3ea69378bb91a63 Signed-off-by: Yannick Gicquel --- meta-rcar-gen2/recipes-kernel/gles-module/gles-kernel-module.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta-rcar-gen2') diff --git a/meta-rcar-gen2/recipes-kernel/gles-module/gles-kernel-module.bb b/meta-rcar-gen2/recipes-kernel/gles-module/gles-kernel-module.bb index 7ed44a2..5b47340 100644 --- a/meta-rcar-gen2/recipes-kernel/gles-module/gles-kernel-module.bb +++ b/meta-rcar-gen2/recipes-kernel/gles-module/gles-kernel-module.bb @@ -46,7 +46,8 @@ export BUILDDIR = "${STAGING_INCDIR}/.." export LIBSHARED = "${STAGING_LIBDIR}" export KERNELSRC = "${STAGING_KERNEL_DIR}" export CROSS_COMPILE = "${TARGET_PREFIX}" -export KERNELDIR = "${STAGING_KERNEL_DIR}" +STAGING_KERNEL_BUILDDIR ?= "${STAGING_KERNEL_DIR}" +export KERNELDIR = "${STAGING_KERNEL_BUILDDIR}" export LDFLAGS="" export CP = "cp" -- cgit 1.2.3-korg