Search code examples
bitbake

do_install() in my recipe, is not get called


Below is the recipe which is very identical to the one I am working on. I do 'bitbake -v -c compile hostapd' to compile. Bitbake works fine upto do_compile(), but the compilation is terminated with that and do_install() is not get called. So, not able to install the binaries. NOTE: If I include 'install' in do_compile(), it is able to install files. Help me in this regard.

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**************"
}

Solution

  • Well if you call bitbake <recipe> -c compile, it'll only run the compile task. Just call bitbake. <recipe> to have it run through all tasks including installation and packaging.