[yocto] Kernel customized do_fetch issue
Joel (Xi Zhou) Zhou
joel.zhou at broadcom.com
Wed Apr 29 10:39:46 PDT 2015
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://svcswgit@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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150429/77a83a7f/attachment.html>
More information about the yocto
mailing list