All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Stickel <michael@cubic.org>
To: yocto@yoctoproject.org
Subject: Problem building the linux kernel outside source directory for mips
Date: Sun, 02 Jun 2013 15:26:45 +0200	[thread overview]
Message-ID: <51AB4815.6040006@cubic.org> (raw)

Hi,

I am new to yocto, so I don't know if this is the right list.

I tried to build a kernel for the MTX-1 platform that uses an AU1500 
which is a MIPS32 based SoC.
After some work I got the standard kernel (3.8.4) used in poky 9 to work.
But I encountered some problems:

In poky-dylan-9.0.0/meta/recipes-kernel/linux/linux-yocto.inc the 
builddir is set to 
"${WORKDIR}/linux-${MACHINE}-${LINUX_KERNEL_TYPE}-build", but 
KERNEL_EXTRA_ARGS does not contain O="${B}". How is the the out of 
source build of the kernel meant to work?

The task do_kernel_configme trashed my kernel config. This may be 
because defconfig is copied to ${B}/.config and do_kernel_configme is 
executed in ${S} and does not find .config.

Is the intended behavior of the out of source build for the kernel 
documented.

BTW: The kernel works and boots the core-image-minimal with usb USB 
Storage as rootfs.

Best regards
Michael


             reply	other threads:[~2013-06-02 13:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-02 13:26 Michael Stickel [this message]
2013-06-02 20:23 ` Problem building the linux kernel outside source directory for mips Bruce Ashfield
2013-06-03 18:54   ` Michael Stickel
2013-06-03 19:29     ` Bruce Ashfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51AB4815.6040006@cubic.org \
    --to=michael@cubic.org \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.