aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-kernel/vspm-module/vspm-kernel-module.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen2/recipes-kernel/vspm-module/vspm-kernel-module.bb')
-rw-r--r--meta-rcar-gen2/recipes-kernel/vspm-module/vspm-kernel-module.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-rcar-gen2/recipes-kernel/vspm-module/vspm-kernel-module.bb b/meta-rcar-gen2/recipes-kernel/vspm-module/vspm-kernel-module.bb
index 2b47298..7e2fc90 100644
--- a/meta-rcar-gen2/recipes-kernel/vspm-module/vspm-kernel-module.bb
+++ b/meta-rcar-gen2/recipes-kernel/vspm-module/vspm-kernel-module.bb
@@ -21,6 +21,9 @@ do_compile() {
make all ARCH=arm
}
+#
+SYSROOT_DIRS += "/usr/src"
+
do_install() {
# Create destination folder
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/extra/ ${D}/usr/src/kernel/include
@@ -37,7 +40,7 @@ do_install() {
cp -f ${S}/vspm/drv/Module.symvers ${KERNELSRC}/include/vspm.symvers
# Copy for vspm-user-module
- cp -f ${KERNELSRC}/include/vspm_if.h ${BUILDDIR}/include
+ #cp -f ${KERNELSRC}/include/vspm_if.h ${STAGING_KERNEL_DIR}/include
}
# Append function to clean extract source