diff options
-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" |