Honister customer defconfig replacement doesn't work


JH
 

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

Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.