Hi,
zhenhua.luo@... <zhenhua.luo@...> writes:
> [Luo Zhenhua-B19537] Following is my suggestion.
> 1. copy defconfig in <custom_layer>/recipe-kernel/linux/files/
> 2. ensure following content is in
<custom_layer>/recipe-kernel/linux/linux-qoriq-sdk_3.12.bbappend
> FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
> SRC_URI += "files://defconfig"
> 3. redefine KERNEL_DEFCONFIG in conf files in the custom layer, e.g,
conf/local.conf
> KERNEL_DEFCONFIG = "${WORKDIR}/defconfig"
sorry for the delay.
Unfortunately this doesn't work. I've got a copy of my defconfig in
${WORKDIR} but as kernel_do_configure in meta/classes/kernel.bbclass contains:
if [ -f "${WORKDIR}/defconfig" ] && [ ! -f "${B}/.config" ]; then
cp "${WORKDIR}/defconfig" "${B}/.config"
and meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk.inc runs:
do_configure_prepend() {
cp ${KERNEL_DEFCONFIG} ${B}/.config
before kernel_do_configure, my ${WORKDIR}/defconfig is not copied into
{B}/.config.
Cheers,
Joerg
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale