aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-kernel/kernel-module-vspm
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen3/recipes-kernel/kernel-module-vspm')
-rw-r--r--meta-rcar-gen3/recipes-kernel/kernel-module-vspm/kernel-module-vspm.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta-rcar-gen3/recipes-kernel/kernel-module-vspm/kernel-module-vspm.bb b/meta-rcar-gen3/recipes-kernel/kernel-module-vspm/kernel-module-vspm.bb
index 627dea1..996a0e4 100644
--- a/meta-rcar-gen3/recipes-kernel/kernel-module-vspm/kernel-module-vspm.bb
+++ b/meta-rcar-gen3/recipes-kernel/kernel-module-vspm/kernel-module-vspm.bb
@@ -66,8 +66,12 @@ vspm_sstate_check_func() {
# This module installs shared header files in ${KERNELSRC}/include by
# sstate cache.
# Those files will be deleted by unpack task of kernel.
- if [ ! -d "${KERNELSRC}/include" ]; then
- exit 1
+ if [ ${WITHIN_EXT_SDK} -eq 1 ]; then
+ :
+ else
+ if [ ! -d "${KERNELSRC}/include" ]; then
+ exit 1
+ fi
fi
}