do_install() 在我的食谱中,未被调用

do_install() in my recipe, is not get called

以下是与我正在制作的完全相同的食谱。 我做 'bitbake -v -c compile hostapd' 来编译。 Bitbake 在 do_compile() 之前工作正常,但编译因此终止并且 do_install() 未被调用。因此,无法安装二进制文件。 注意:如果我在 do_compile() 中包含 'install',它可以安装文件。 在这方面帮助我。

DESCRIPTION = "hostapd"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM ="file://CONTRIBUTIONS;md5=443127d1b581020d711c3bbbf3656d69"

DEPENDS = "libnl openssl"
inherit module

FILESPATH =+ "${TOPDIR}/../wifi/:"
SRC_URI = "file://hostap \
"

S = "${WORKDIR}/hostap"

do_configure() {     
    true
    echo "****************do_confige***************"
}

do_compile() {
    true
    echo "************do_compile****************"
}

do_install() {
    true
    echo "*************do_install**************"
}

好吧,如果您调用 bitbake <recipe> -c compile,它只会 运行 编译任务。只需调用 bitbake. <recipe> 即可让其 运行 完成包括安装和打包在内的所有任务。