summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-kernel/kernel-module-vspm
diff options
context:
space:
mode:
authorThao Nguyen <thao.nguyen.yb@renesas.com>2017-10-30 16:18:04 +0700
committerThuy Tran <thuy.tran.xh@rvc.renesas.com>2018-01-30 10:07:59 +0700
commitbfd1a5eee3c0b5e53e1b26b068e8afa81a7ad85d (patch)
treebb119b5ac6ae7f0a71a336e8b71391ba13c6d34f /meta-rcar-gen3/recipes-kernel/kernel-module-vspm
parentc13886b9701dfb7e41a66115aeda8cc3a1c80188 (diff)
rcar-gen3: kernel-module-vspm: Fix issue of eSDK
In eSDK context, this checking will cause following error since KERNELSRC does not exist. |WARNING: Setscene task (/ssd/FS_YP2.4/build_mmp/eSDK_YP2.4/layers/meta-renesas/meta-rcar-gen3/recipes-kernel/kernel-module-vspm/kernel-module-vspm.bb:do|_populate_sysroot_setscene) failed with exit code '1' - real task will be run instead |ERROR: Task kernel-module-vspm.do_populate_sysroot_setscene failed This patch adds condition to check for the existence of KERNELSRC just when not in context of eSDK. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
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
}