From 9e96a0825375cc06feab5298ce7e1baf2a732219 Mon Sep 17 00:00:00 2001 From: Thuy Tran Date: Fri, 5 Jan 2018 16:17:11 +0700 Subject: rcar-gen3: kernel-module: Do not override KERNEL_MODULE_AUTOLOAD variable According to YP Manual, we can use the KERNEL_MODULE_AUTOLOAD variable anywhere that it can be recognized by the kernel recipe or by an out-of-tree kernel module recipe. Therefore, KERNEL_MODULE_AUTOLOAD is a global list, so it should be used "+=" or "_append". Signed-off-by: Thuy Tran Signed-off-by: Takamitsu Honda --- .../recipes-kernel/kernel-module-iccom/kernel-module-iccom-mfis.bb | 2 +- .../recipes-kernel/kernel-module-vsp2driver/kernel-module-vsp2driver.bb | 2 +- meta-rcar-gen3/recipes-kernel/kernel-module-vspm/kernel-module-vspm.bb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-rcar-gen3/recipes-kernel/kernel-module-iccom/kernel-module-iccom-mfis.bb b/meta-rcar-gen3/recipes-kernel/kernel-module-iccom/kernel-module-iccom-mfis.bb index ef38f56..4dcc789 100644 --- a/meta-rcar-gen3/recipes-kernel/kernel-module-iccom/kernel-module-iccom-mfis.bb +++ b/meta-rcar-gen3/recipes-kernel/kernel-module-iccom/kernel-module-iccom-mfis.bb @@ -35,4 +35,4 @@ FILES_${PN} = " \ " # Autoload ICCOM MFIS Driver -KERNEL_MODULE_AUTOLOAD = "iccom_mfis" +KERNEL_MODULE_AUTOLOAD_append = " iccom_mfis" diff --git a/meta-rcar-gen3/recipes-kernel/kernel-module-vsp2driver/kernel-module-vsp2driver.bb b/meta-rcar-gen3/recipes-kernel/kernel-module-vsp2driver/kernel-module-vsp2driver.bb index 045f028..65618c9 100644 --- a/meta-rcar-gen3/recipes-kernel/kernel-module-vsp2driver/kernel-module-vsp2driver.bb +++ b/meta-rcar-gen3/recipes-kernel/kernel-module-vsp2driver/kernel-module-vsp2driver.bb @@ -60,4 +60,4 @@ FILES_${PN} = " \ RPROVIDES_${PN} += "kernel-module-vsp2driver kernel-module-vsp2" # Autoload VSP2Driver -KERNEL_MODULE_AUTOLOAD = "vsp2" +KERNEL_MODULE_AUTOLOAD_append = " vsp2" 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 97e703c..b026368 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 @@ -94,4 +94,4 @@ FILES_${PN} = " \ RPROVIDES_${PN} += "kernel-module-vspm" # Autoload VSPM -KERNEL_MODULE_AUTOLOAD = "vspm" +KERNEL_MODULE_AUTOLOAD_append = " vspm" -- cgit 1.2.3-korg