All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Berger <gmane@reliableembeddedsystems.com>
To: yocto@yoctoproject.org
Subject: in-tree defconfig
Date: Wed, 09 Dec 2015 22:28:23 +0200	[thread overview]
Message-ID: <56688EE7.4070103@reliableembeddedsystems.com> (raw)

Hi,

What I wanted to do is to start from an in-tree defconfig like
multi_v7_defconfig instead of a defconfig file in a kernel recipe (which
works).

Maybe we have a different definition of an in-tree defconfig file, but
what I mean is the output of make multi_v7_defconfig, I guess what you
mean is arch/arm/configs/multi_v7_defconfig without running make on it.

After stripping blank and commented lines and sorting everything the
difference is:

-rw-rw-r-- 1 student student 14K Dec  9 22:16
KBUILD_DEFCONFIG-stripped-1-sorted
-rw-rw-r-- 1 student student 42K Dec  9 22:14
make-multi_v7_defconfig-stripped-1-sorted

... and the stuff built with KBUILD_DEFCONFIG does not boot ...

So my question is:"Is there a way to tell the kernel build system to run
make multi_v7_defconfig and use this as a base configuration where
patches and configurations will be added later on?"

If so can you see anything I am obviously doing wrong?

I tried this:

# SRC_URI += " \
#         file://defconfig \
#         "

+# Let's try an in-tree defconfig:
#KERNEL_DEFCONFIG_multi-v7-ml ?= "multi_v7_defconfig"
KBUILD_DEFCONFIG_multi-v7-ml ?= "multi_v7_defconfig"

with the kernel recipe of my meta-layer[1]

That's the meta-layer[2].

Regards,

Robert

[1]
https://github.com/RobertBerger/meta-mainline/blob/jethro-training-v4.1.x/multi-v7-ml/recipes-kernel/linux/linux-yocto-custom.inc
[2]
https://github.com/RobertBerger/meta-mainline/tree/jethro-training-v4.1.x/multi-v7-ml


..."What I look forward to is continued immaturity followed by death." -
Dave Barry

My public pgp key is available,at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1




             reply	other threads:[~2015-12-09 20:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-09 20:28 Robert Berger [this message]
2015-12-09 23:43 ` in-tree defconfig Robert Berger
2015-12-10  3:13   ` Daniel.
2015-12-10 11:13   ` 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=56688EE7.4070103@reliableembeddedsystems.com \
    --to=gmane@reliableembeddedsystems.com \
    --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.