All of lore.kernel.org
 help / color / mirror / Atom feed
* Compiling kernel from external source in Yocto
@ 2013-12-11  7:00 Sudhangathan B S
  2013-12-11  7:13 ` Bruce Ashfield
  0 siblings, 1 reply; 7+ messages in thread
From: Sudhangathan B S @ 2013-12-11  7:00 UTC (permalink / raw)
  To: Gumstix users., yocto@yoctoproject.org

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

Hi, I'm having this issue, I'm not able to compile a kernel source which I
have in my system, locally.

This is my recipe, after following instructions at
http://www.yoctoproject.org/docs/1.4/dev-manual/dev-manual.html#building-software-from-an-external-source

require linux.inc
#THIS TEMPLATE COPIED FROM linux-sakoman_3.5.bb
DESCRIPTION = "Linux kernel for OMAP processors"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
KERNEL_IMAGETYPE = "uImage"
COMPATIBLE_MACHINE = "overo"
FILESEXTRAPATHS_prepend := "${THISDIR}/linux-omap-khilmanpm:"
PV = "3.5"
inherit externalsrc
S =
"/home/desen555/suan_work/kernel_work/khilman35-src-mods/linux-omap-khilmanpm"
B = "${WORKDIR}/git"
SRC_URI = "file://defconfig \
           file://omap2plus_defconfig \
           file://usb_off.patch \
           "

As you can see the kernel source directory is in S variable.

When the command "bitbake virtual/kernel" is run, i get this output

ERROR: Function failed: do_configure (see
/home/desen555/yocto/build/tmp/work/overo-poky-linux-gnueabi/linux-omap-khilmanpm/3.5-r0/temp/log.do_configure.28505
for further information)
ERROR: Logfile of failure stored in:
/home/desen555/yocto/build/tmp/work/overo-poky-linux-gnueabi/linux-omap-khilmanpm/3.5-r0/temp/log.do_configure.28505
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| sed: can't read
/home/desen555/yocto/build/tmp/work/overo-poky-linux-gnueabi/linux-omap-khilmanpm/3.5-r0/*defconfig:
No such file or directory*
| ERROR: Function failed: do_configure (see
/home/desen555/yocto/build/tmp/work/overo-poky-linux-gnueabi/linux-omap-khilmanpm/3.5-r0/temp/log.do_configure.28505
for further information)
ERROR: Task 2
(/home/desen555/yocto/poky/meta-dese_iisc/recipes-kernel/linux/
linux-omap-khilmanpm_3.5.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 545 tasks of which 543 didn't need to be
rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/desen555/yocto/poky/meta-dese_iisc/recipes-kernel/linux/
linux-omap-khilmanpm_3.5.bb, do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

If at all I put my defconfig file in the place it is looking for, then it
throws other errors, so I guess that is not the right way..

Anybody compiled kernel as an external source in yocto..??
---------------------------------
*Sudhangathan BS*
Ph:(+91) 9731-905-205
---------------------------------

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

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

end of thread, other threads:[~2013-12-16 21:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-11  7:00 Compiling kernel from external source in Yocto Sudhangathan B S
2013-12-11  7:13 ` Bruce Ashfield
2013-12-11 11:30   ` Sudhangathan B S
2013-12-11 21:09     ` Bruce Ashfield
2013-12-12  0:46       ` Sudhangathan B S
2013-12-16 16:14         ` Bruce Ashfield
2013-12-16 21:48           ` Sudhangathan B S

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.