From 719941576c5b957c06b1f3dfc89173cdc466721d Mon Sep 17 00:00:00 2001 From: Thuy Tran Date: Fri, 5 Jan 2018 13:42:50 +0700 Subject: rcar-gen3: kernel-module: Set KERNEL_MODULE_PACKAGE_SUFFIX to fix building kernel modules From YP2.3 [1], kernel module packages are now suffixed with the kernel version in order to allow module packages from multiple kernel versions to co-exist on a target system. We can return to the previous naming scheme that does not include the version suffix by setting KERNEL_MODULE_PACKAGE_SUFFIX to blank to build modules without suffix. [1] http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#migration-2.3-miscellaneous-changes Signed-off-by: Thuy Tran Signed-off-by: Takamitsu Honda --- meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-rcar-gen3/recipes-kernel/kernel-module-gles') diff --git a/meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bb b/meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bb index b2a1274..8dea6a3 100644 --- a/meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bb +++ b/meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bb @@ -29,6 +29,9 @@ B = "${KBUILD_DIR}" EXTRA_OEMAKE = "KERNELDIR=${STAGING_KERNEL_BUILDDIR}" EXTRA_OEMAKE += "CROSS_COMPILE=${CROSS_COMPILE}" +# Build GFX kernel module without suffix +KERNEL_MODULE_PACKAGE_SUFFIX = "" + module_do_compile() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS cd ${KBUILD_DIR} -- cgit 1.2.3-korg