All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jupiter <jupiter.hce@gmail.com>
To: yocto <yocto@lists.yoctoproject.org>
Subject: How to force build system to use a working kernel defconfig?
Date: Tue, 26 Apr 2022 20:58:35 +1000	[thread overview]
Message-ID: <CAA=hcWSv7=gctvWYXSaJTqi=y=G9Zr8Jr01+5vVUcGSsPJM9vA@mail.gmail.com> (raw)

Hi,

I followed Yocto document 2.3.3 Changing the Configuration to set up a
complete working Linux kernel defconfig in my kernel bbappend, I
copied the defconfig to build/.config:
do_compile:prepend () {
    install -m 0644 ${WORKDIR}/defconfig ${WORKDIR}/build/.config
}

I hope the build system can just use the defconfig in build/.config,
but that did not work, the build system still ran Restart config... to
compare the defconfig and to generate and overwrite build/.config. How
can I suppress the build system not to run the "Restart config"
process, just to run the compile process using the build/.config I
copied to build/.config?

I tried to add KCONFIG_MODE = "alldefconfig" in my kernel bbappend,
but it did not work either.

Appreciate your advice.

Thank you very much.

Kind regards,

JH


             reply	other threads:[~2022-04-26 10:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-26 10:58 Jupiter [this message]
2022-04-28  3:27 ` [yocto] How to force build system to use a working kernel defconfig? Bruce Ashfield
2022-04-28  9:39   ` Jupiter
2022-04-28 11:44     ` 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='CAA=hcWSv7=gctvWYXSaJTqi=y=G9Zr8Jr01+5vVUcGSsPJM9vA@mail.gmail.com' \
    --to=jupiter.hce@gmail.com \
    --cc=yocto@lists.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.