All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel customized do_fetch issue
@ 2015-04-29 17:39 Joel (Xi Zhou) Zhou
  2015-04-29 17:52 ` Bruce Ashfield
  0 siblings, 1 reply; 5+ messages in thread
From: Joel (Xi Zhou) Zhou @ 2015-04-29 17:39 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 811 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 3686 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-29 19:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29 17:39 Kernel customized do_fetch issue Joel (Xi Zhou) Zhou
2015-04-29 17:52 ` Bruce Ashfield
2015-04-29 18:08   ` Joel (Xi Zhou) Zhou
2015-04-29 19:22     ` Bruce Ashfield
2015-04-29 19:44       ` Joel (Xi Zhou) Zhou

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.