All of lore.kernel.org
 help / color / mirror / Atom feed
* Honister customer defconfig replacement doesn't work
@ 2022-04-27 22:08 Jupiter
  2022-04-28  3:21 ` [oe] " Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Jupiter @ 2022-04-27 22:08 UTC (permalink / raw)
  To: openembeded-devel; +Cc: bitbake-devel

Hello,

My apology, I am not sure which group is working on defconfig syntax
for version 3.4 Honister branch. I posted the question to Yocto list
without response, let me rephrase it again:

According to the Yocto document 3.4, out tree customer defconfig can
be used to replace the build/.config, I used a working kernel
defconfig to disable configures, I tried many tricks found from the
mailing lists, but none of works for 3.4 and branch Honister in a
kernel build bbappend file to add KCONFIG_MODE = "allnoconfig" or
KCONFIG_MODE = "alldefconfig":

FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI:append = " file://defconfig"
KCONFIG_MODE = "allnoconfig"
do_configure:prepend () {
    cp ${WORKDIR}/defconfig ${B}/.config
}

It still generated build/.config in do_configure

#
# configuration written to .config
#

I changed to:

do_compile:prepend () {
    cp ${WORKDIR}/defconfig ${B}/.config
}

It still restarted config to generate build/.config

*
* Restart config...
*
*
* Kernel Features
*

I added unset KBUILD_DEFCONFIG,

Is it possible to disable KBUILD_DEFCONFIG and to use customer defconfig?

Thank you very much.

Kind regards,

- jupiter


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

* Re: [oe] Honister customer defconfig replacement doesn't work
  2022-04-27 22:08 Honister customer defconfig replacement doesn't work Jupiter
@ 2022-04-28  3:21 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2022-04-28  3:21 UTC (permalink / raw)
  To: JH; +Cc: openembeded-devel, bitbake-devel

On Wed, Apr 27, 2022 at 6:09 PM JH <jupiter.hce@gmail.com> wrote:
>
> Hello,
>
> My apology, I am not sure which group is working on defconfig syntax
> for version 3.4 Honister branch. I posted the question to Yocto list
> without response, let me rephrase it again:

oe-core/yocto are the right place to ask. I can follow up there.

Bruce

>
> According to the Yocto document 3.4, out tree customer defconfig can
> be used to replace the build/.config, I used a working kernel
> defconfig to disable configures, I tried many tricks found from the
> mailing lists, but none of works for 3.4 and branch Honister in a
> kernel build bbappend file to add KCONFIG_MODE = "allnoconfig" or
> KCONFIG_MODE = "alldefconfig":
>
> FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
> SRC_URI:append = " file://defconfig"
> KCONFIG_MODE = "allnoconfig"
> do_configure:prepend () {
>     cp ${WORKDIR}/defconfig ${B}/.config
> }
>
> It still generated build/.config in do_configure
>
> #
> # configuration written to .config
> #
>
> I changed to:
>
> do_compile:prepend () {
>     cp ${WORKDIR}/defconfig ${B}/.config
> }
>
> It still restarted config to generate build/.config
>
> *
> * Restart config...
> *
> *
> * Kernel Features
> *
>
> I added unset KBUILD_DEFCONFIG,
>
> Is it possible to disable KBUILD_DEFCONFIG and to use customer defconfig?
>
> Thank you very much.
>
> Kind regards,
>
> - jupiter
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#96814): https://lists.openembedded.org/g/openembedded-devel/message/96814
> Mute This Topic: https://lists.openembedded.org/mt/90741694/1050810
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


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

end of thread, other threads:[~2022-04-28  3:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-27 22:08 Honister customer defconfig replacement doesn't work Jupiter
2022-04-28  3:21 ` [oe] " Bruce Ashfield

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.