Hi all,

I created a do_fetch() for checkout in-house git repo, which is working fine 
with OE.
do_fetch() {
    cd ${WORKDIR}
    rm -rf ${PN}-${PV}
    git clone ssh://svcsw...@git-ccxsw.inhouse.com/linux-lsk ${PN}-${PV}
    cd ${PN}-${PV}
    git checkout ${KBRANCH}
}

With Yocto, the do_fetch() does its job, but do_configure create an issue.
do_configure_prepend() {
    cp ${WORKDIR}/${KERNEL_CONFIG_FILE} ${S}/.config
    oe_runmake oldconfig
}
The do_configure error message:
| make: *** No rule to make target `oldconfig'.  Stop.

Basically, the kernel source checkout by do_fetch() is delete/erase while 
running do_configure().
I suspect some tasks between do_fetch and do_configure are doing some magic 
work of moving the kernel  source around.
Any suggestion?

Thanks,
Joel
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to