aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-rcar-gen2/include/rcar-gen2-modules-common.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-rcar-gen2/include/rcar-gen2-modules-common.inc b/meta-rcar-gen2/include/rcar-gen2-modules-common.inc
index 4a3658a..f2b520a 100644
--- a/meta-rcar-gen2/include/rcar-gen2-modules-common.inc
+++ b/meta-rcar-gen2/include/rcar-gen2-modules-common.inc
@@ -2,7 +2,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"