aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86
diff options
context:
space:
mode:
authorAhsan Hussain <ahsan_hussain@mentor.com>2017-01-27 19:35:35 +0500
committerAhsan Hussain <ahsan_hussain@mentor.com>2017-01-30 18:39:32 +0500
commiteda3f114e316dded70815eddf4230ee508800148 (patch)
tree947b2424148a66f7cabe6124d0d635ac37fbf892 /meta-amdfalconx86
parent7615350e3b3101f8cb953185f895dff06dd9d449 (diff)
downloadmeta-amd-eda3f114e316dded70815eddf4230ee508800148.tar.gz
meta-amd-eda3f114e316dded70815eddf4230ee508800148.tar.bz2
meta-amd-eda3f114e316dded70815eddf4230ee508800148.zip
kernel-module: Fix recipes for amd-spi and amd-wdt
Setting PN and FILES inside the recipe was conflicting with the module.bbclass bits. SPI driver made it into the RFS because of different module package name (due to source files) than what was specified in the recipe. This is also why we were seeing two packages for it, namely kernel-module-spi-amd and kernel-module-amd-spi. Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
Diffstat (limited to 'meta-amdfalconx86')
-rw-r--r--meta-amdfalconx86/recipes-kernel/amd-spi/amd-spi_1.0.bb11
-rw-r--r--meta-amdfalconx86/recipes-kernel/amd-wdt/amd-wdt_1.0.bb10
2 files changed, 2 insertions, 19 deletions
diff --git a/meta-amdfalconx86/recipes-kernel/amd-spi/amd-spi_1.0.bb b/meta-amdfalconx86/recipes-kernel/amd-spi/amd-spi_1.0.bb
index acc04748..2b0b2eb0 100644
--- a/meta-amdfalconx86/recipes-kernel/amd-spi/amd-spi_1.0.bb
+++ b/meta-amdfalconx86/recipes-kernel/amd-spi/amd-spi_1.0.bb
@@ -21,13 +21,4 @@ SRC_URI = "file://Makefile \
S = "${WORKDIR}"
-
-# Kernel module packages MUST begin with 'kernel-module-', otherwise
-# multilib image generation can fail.
-#
-# The following line is only necessary if the recipe name does not begin
-# with kernel-module-.
-#
-PKG_${PN} = "kernel-module-${PN}"
-
-FILES_${PN} += "${sysconfdir}"
+# The inherit of module.bbclass will take care of the rest
diff --git a/meta-amdfalconx86/recipes-kernel/amd-wdt/amd-wdt_1.0.bb b/meta-amdfalconx86/recipes-kernel/amd-wdt/amd-wdt_1.0.bb
index 433b70ab..10e29743 100644
--- a/meta-amdfalconx86/recipes-kernel/amd-wdt/amd-wdt_1.0.bb
+++ b/meta-amdfalconx86/recipes-kernel/amd-wdt/amd-wdt_1.0.bb
@@ -17,12 +17,4 @@ SRC_URI = "file://Makefile \
S = "${WORKDIR}"
-# Kernel module packages MUST begin with 'kernel-module-', otherwise
-# multilib image generation can fail.
-#
-# The following line is only necessary if the recipe name does not begin
-# with kernel-module-.
-#
-PKG_${PN} = "kernel-module-${PN}"
-
-FILES_${PN} += "${sysconfdir}"
+# The inherit of module.bbclass will take care of the rest