Hi Team ,
In defconfig of recipes-kernel/linux/linux-ti-staging-4.19 , we enabled some flags and create new defconfig_name and copy use-tisdk-config=tisdk_am335x-evm_defconfig .
in linux-ti-staging_4.19.bb file
SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
file://defconfig"
Issue :-
tisdk_am335x-evm_defconfig is not as per defconfig of recipes-kernel/linux/linux-ti-staging-4.19 .
defconfig of git/deconfig is updating as per defconfig of recipes-kernel/linux/linux-ti-staging-4.19 but above is issue .
We added below in setup_defconfig.inc file .
do_configure_prepend() {
#Always update the configs no matter what.
if [ -f ${B}/.config ]
then
config=`cat ${FILE_DIRNAME}/linux-ti-staging-4.19/ti33x/defconfig_name | grep use-tisdk-config | cut -d= -f2`
cp ${B}/.config ${WORKDIR}/defconfig
echo "defconfig:${WORKDIR}"
cp ${B}/.config ${S}/arch/arm/configs/"$config"_defconfig
echo "_defconfig:${S}"
cp ${B}/.config ${FILE_DIRNAME}/linux-ti-staging-4.19/ti33x/defconfig
echo "ti_defconfig:${S}"
fi
}