iscsitarget: fix QA warning for GNU_HASH

Split kernel module and user space build. Ensure the LDFLAGS is passed
when build user space code.

Signed-off-by: Yi Zhao <yi.zhao@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:
Yi Zhao 2016-08-19 18:04:17 +08:00 committed by Joe MacDonald
parent 1157490a50
commit c13a7062c9

View File

@ -26,7 +26,8 @@ do_configure[noexec] = "1"
do_make_scripts[depends] += "virtual/kernel:do_shared_workdir"
do_compile() {
oe_runmake KSRC=${STAGING_KERNEL_DIR} LDFLAGS='' V=1
oe_runmake KSRC=${STAGING_KERNEL_DIR} LDFLAGS='' V=1 kernel
oe_runmake KSRC=${STAGING_KERNEL_DIR} usr
}
do_install() {