diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2015-11-25 16:27:58 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-02-29 16:23:35 -0500 |
commit | a6abc25189cf49a17993637cf9e8fbd5419a5686 (patch) | |
tree | 756bef16bcfa0b6b822bfcaaa592c3f5ccf8460a /meta-networking/recipes-extended | |
parent | 4cafdd161e5252c217736937994e594e639e62bc (diff) | |
download | meta-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.bb | 10 |
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 | |||
18 | SRC_URI[md5sum] = "ef9bc823bbabd3c772208c00d5f2d089" | 18 | SRC_URI[md5sum] = "ef9bc823bbabd3c772208c00d5f2d089" |
19 | SRC_URI[sha256sum] = "d3196ccb78a43266dce28587bfe30d8ab4db7566d7bce96057dfbb84100babb5" | 19 | SRC_URI[sha256sum] = "d3196ccb78a43266dce28587bfe30d8ab4db7566d7bce96057dfbb84100babb5" |
20 | 20 | ||
21 | inherit module-base | 21 | inherit module |
22 | |||
23 | # Add make_scripts task to create kernel scripts | ||
24 | addtask make_scripts after do_patch before do_compile | ||
25 | 22 | ||
26 | do_configure[noexec] = "1" | 23 | do_configure[noexec] = "1" |
27 | 24 | ||
@@ -29,9 +26,6 @@ do_configure[noexec] = "1" | |||
29 | # kernel scripts | 26 | # kernel scripts |
30 | do_make_scripts[depends] += "virtual/kernel:do_shared_workdir" | 27 | do_make_scripts[depends] += "virtual/kernel:do_shared_workdir" |
31 | 28 | ||
32 | # Make sure we don't have race condition against "make scripts" | ||
33 | do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" | ||
34 | |||
35 | do_compile() { | 29 | do_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 | ||
61 | FILES_${PN} += "${sbindir} \ | 55 | FILES_${PN} += "${sbindir} \ |
62 | /lib \ | ||
63 | ${sysconfdir}" | 56 | ${sysconfdir}" |
64 | 57 | ||
58 | RDEPENDS_${PN} = "kernel-module-iscsi-trgt" | ||
65 | RRECOMMENDS_${PN} = "kernel-module-crc32c kernel-module-libcrc32c" | 59 | RRECOMMENDS_${PN} = "kernel-module-crc32c kernel-module-libcrc32c" |