summaryrefslogtreecommitdiffstats
path: root/meta-skeleton
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2013-04-12 19:42:13 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-13 22:50:59 (GMT)
commit71aafc214fe407b7620e747c11dfb8326c867b1c (patch)
tree9f452095d3a4dbc04d7c58de725cc216c40a854e /meta-skeleton
parent27ad9cac7b1dc14da3b4e27e7cd8fa6149625273 (diff)
downloadpoky-71aafc214fe407b7620e747c11dfb8326c867b1c.tar.gz
hello-mod: Ensure the produced package name begins with kernel-module-
The special key kernel-module- is necessary for the system to avoid a package rename when installing a multilib image. For example: local.conf: IMAGE_INSTALL_append = " hello-mod" bitbake lib32-core-image-minimal The system will translate names and prepend 'lib32-', unless the package begins with kernel-module-. (From OE-Core rev: b847f87f4213db917d6760cd399c0afae996cf23) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-skeleton')
-rw-r--r--meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb b/meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb
index 64a6dda..621f700 100644
--- a/meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb
+++ b/meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb
@@ -13,3 +13,11 @@ SRC_URI = "file://Makefile \
13 " 13 "
14 14
15S = "${WORKDIR}" 15S = "${WORKDIR}"
16
17# Kernel module packages MUST begin with 'kernel-module-', otherwise
18# multilib image generation can fail.
19#
20# The following line is only necessary if the recipe name does not begin
21# with kernel-module-.
22#
23PKG_${PN} = "kernel-module-${PN}"