summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-extended
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2015-11-25 16:27:58 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2016-02-29 16:23:35 -0500
commita6abc25189cf49a17993637cf9e8fbd5419a5686 (patch)
tree756bef16bcfa0b6b822bfcaaa592c3f5ccf8460a /meta-networking/recipes-extended
parent4cafdd161e5252c217736937994e594e639e62bc (diff)
downloadmeta-openembedded-a6abc25189cf49a17993637cf9e8fbd5419a5686.tar.gz
iscsitarget: split the kernel module into separate package
inherit module instead of module-base, so the module is split into kernel-module-iscsi-trgt and make PN rdepends on it. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-extended')
-rw-r--r--meta-networking/recipes-extended/iscsitarget/iscsitarget_1.4.20.3+svn502.bb10
1 files changed, 2 insertions, 8 deletions
diff --git a/meta-networking/recipes-extended/iscsitarget/iscsitarget_1.4.20.3+svn502.bb b/meta-networking/recipes-extended/iscsitarget/iscsitarget_1.4.20.3+svn502.bb
index b73da51cf..6a2b135fa 100644
--- a/meta-networking/recipes-extended/iscsitarget/iscsitarget_1.4.20.3+svn502.bb
+++ b/meta-networking/recipes-extended/iscsitarget/iscsitarget_1.4.20.3+svn502.bb
@@ -18,10 +18,7 @@ SRC_URI = "http://ftp.heanet.ie/mirrors/ubuntu/pool/universe/i/${BPN}/${BPN}_${P
18SRC_URI[md5sum] = "ef9bc823bbabd3c772208c00d5f2d089" 18SRC_URI[md5sum] = "ef9bc823bbabd3c772208c00d5f2d089"
19SRC_URI[sha256sum] = "d3196ccb78a43266dce28587bfe30d8ab4db7566d7bce96057dfbb84100babb5" 19SRC_URI[sha256sum] = "d3196ccb78a43266dce28587bfe30d8ab4db7566d7bce96057dfbb84100babb5"
20 20
21inherit module-base 21inherit module
22
23# Add make_scripts task to create kernel scripts
24addtask make_scripts after do_patch before do_compile
25 22
26do_configure[noexec] = "1" 23do_configure[noexec] = "1"
27 24
@@ -29,9 +26,6 @@ do_configure[noexec] = "1"
29# kernel scripts 26# kernel scripts
30do_make_scripts[depends] += "virtual/kernel:do_shared_workdir" 27do_make_scripts[depends] += "virtual/kernel:do_shared_workdir"
31 28
32# Make sure we don't have race condition against "make scripts"
33do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
34
35do_compile() { 29do_compile() {
36 oe_runmake KSRC=${STAGING_KERNEL_DIR} CFLAGS='${CFLAGS}' LDFLAGS='' \ 30 oe_runmake KSRC=${STAGING_KERNEL_DIR} CFLAGS='${CFLAGS}' LDFLAGS='' \
37 CC="${CC}" V=1 31 CC="${CC}" V=1
@@ -59,7 +53,7 @@ do_install() {
59} 53}
60 54
61FILES_${PN} += "${sbindir} \ 55FILES_${PN} += "${sbindir} \
62 /lib \
63 ${sysconfdir}" 56 ${sysconfdir}"
64 57
58RDEPENDS_${PN} = "kernel-module-iscsi-trgt"
65RRECOMMENDS_${PN} = "kernel-module-crc32c kernel-module-libcrc32c" 59RRECOMMENDS_${PN} = "kernel-module-crc32c kernel-module-libcrc32c"