aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-kernel/kernel-module-dtv
diff options
context:
space:
mode:
authorThuy Tran <thuy.tran.xh@rvc.renesas.com>2018-01-05 13:42:50 +0700
committerThuy Tran <thuy.tran.xh@rvc.renesas.com>2018-01-30 10:07:59 +0700
commit719941576c5b957c06b1f3dfc89173cdc466721d (patch)
tree8825fd1d1a388ef44aaa717af576ebaa47be2654 /meta-rcar-gen3/recipes-kernel/kernel-module-dtv
parent2f4d16e6e7db9d0e702872cb2ffd008419a6bdfa (diff)
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 <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-dtv')
-rw-r--r--meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-scu-src.bb3
-rw-r--r--meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-ssp.bb3
-rw-r--r--meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-tddmac.bb3
-rw-r--r--meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-tsif.bb3
4 files changed, 12 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-scu-src.bb b/meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-scu-src.bb
index ee926d3..42f4f85 100644
--- a/meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-scu-src.bb
+++ b/meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-scu-src.bb
@@ -25,6 +25,9 @@ EXTRA_OEMAKE_r8a7795 += "DTV_MAKE_HW_SWITCH=HW_SUPPORT_H3"
EXTRA_OEMAKE_r8a7796 += "DTV_MAKE_HW_SWITCH=HW_SUPPORT_M3"
EXTRA_OEMAKE_r8a77965 += "DTV_MAKE_HW_SWITCH=HW_SUPPORT_M3N"
+# Build DTV kernel modules without suffix
+KERNEL_MODULE_PACKAGE_SUFFIX = ""
+
do_compile() {
cd ${S}/scu_src_drv/drv
oe_runmake
diff --git a/meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-ssp.bb b/meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-ssp.bb
index 033b8aa..4b1408e 100644
--- a/meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-ssp.bb
+++ b/meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-ssp.bb
@@ -25,6 +25,9 @@ EXTRA_OEMAKE_r8a7795 += "DTV_MAKE_HW_SWITCH=HW_SUPPORT_H3"
EXTRA_OEMAKE_r8a7796 += "DTV_MAKE_HW_SWITCH=HW_SUPPORT_M3"
EXTRA_OEMAKE_r8a77965 += "DTV_MAKE_HW_SWITCH=HW_SUPPORT_M3N"
+# Build DTV SSP kernel module without suffix
+KERNEL_MODULE_PACKAGE_SUFFIX = ""
+
do_compile() {
cd ${S}/ssp_drv/drv
oe_runmake
diff --git a/meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-tddmac.bb b/meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-tddmac.bb
index 9b3d93d..55c5690 100644
--- a/meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-tddmac.bb
+++ b/meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-tddmac.bb
@@ -25,6 +25,9 @@ EXTRA_OEMAKE_r8a7795 += "DTV_MAKE_HW_SWITCH=HW_SUPPORT_H3"
EXTRA_OEMAKE_r8a7796 += "DTV_MAKE_HW_SWITCH=HW_SUPPORT_M3"
EXTRA_OEMAKE_r8a77965 += "DTV_MAKE_HW_SWITCH=HW_SUPPORT_M3N"
+# Build DTV tddmac kernel module without suffix
+KERNEL_MODULE_PACKAGE_SUFFIX = ""
+
do_compile() {
cd ${S}/tddmac_drv/drv
oe_runmake
diff --git a/meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-tsif.bb b/meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-tsif.bb
index f24701c..a31f9c0 100644
--- a/meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-tsif.bb
+++ b/meta-rcar-gen3/recipes-kernel/kernel-module-dtv/kernel-module-tsif.bb
@@ -24,6 +24,9 @@ EXTRA_OEMAKE_r8a7795 += "DTV_MAKE_HW_SWITCH=HW_SUPPORT_H3"
EXTRA_OEMAKE_r8a7796 += "DTV_MAKE_HW_SWITCH=HW_SUPPORT_M3"
EXTRA_OEMAKE_r8a77965 += "DTV_MAKE_HW_SWITCH=HW_SUPPORT_M3N"
+# Build DTV tsif kernel module withou suffix
+KERNEL_MODULE_PACKAGE_SUFFIX = ""
+
do_compile() {
cd ${S}/tsif_drv/drv
oe_runmake