mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
4cafdd161e
commit
a6abc25189
|
|
@ -18,10 +18,7 @@ SRC_URI = "http://ftp.heanet.ie/mirrors/ubuntu/pool/universe/i/${BPN}/${BPN}_${P
|
|||
SRC_URI[md5sum] = "ef9bc823bbabd3c772208c00d5f2d089"
|
||||
SRC_URI[sha256sum] = "d3196ccb78a43266dce28587bfe30d8ab4db7566d7bce96057dfbb84100babb5"
|
||||
|
||||
inherit module-base
|
||||
|
||||
# Add make_scripts task to create kernel scripts
|
||||
addtask make_scripts after do_patch before do_compile
|
||||
inherit module
|
||||
|
||||
do_configure[noexec] = "1"
|
||||
|
||||
|
|
@ -29,9 +26,6 @@ do_configure[noexec] = "1"
|
|||
# kernel scripts
|
||||
do_make_scripts[depends] += "virtual/kernel:do_shared_workdir"
|
||||
|
||||
# Make sure we don't have race condition against "make scripts"
|
||||
do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake KSRC=${STAGING_KERNEL_DIR} CFLAGS='${CFLAGS}' LDFLAGS='' \
|
||||
CC="${CC}" V=1
|
||||
|
|
@ -59,7 +53,7 @@ do_install() {
|
|||
}
|
||||
|
||||
FILES_${PN} += "${sbindir} \
|
||||
/lib \
|
||||
${sysconfdir}"
|
||||
|
||||
RDEPENDS_${PN} = "kernel-module-iscsi-trgt"
|
||||
RRECOMMENDS_${PN} = "kernel-module-crc32c kernel-module-libcrc32c"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user