Hi Otavio,

On Tue, 12 Sep 2017 10:45:51 -0300
Otavio Salvador <[email protected]> wrote:

> +do_configure_devicetree() {
> +     if [ "${KERNEL_DEVICETREE_BUNDLE}" = "1" ]; then
> +             if echo ${KERNEL_IMAGETYPE_FOR_MAKE} | grep -q 'zImage'; then
> +                     config="${B}/.config"
> +                     if ! grep -q 'CONFIG_ARM_APPENDED_DTB=y' $config; then
> +                             bbwarn 'CONFIG_ARM_APPENDED_DTB is NOT enabled 
> in the kernel. Enabling it to allow the kernel to boot with the Device Tree 
> appended!'
> +                             sed -i "/CONFIG_ARM_APPENDED_DTB[ =]/d" $config
> +                             echo "CONFIG_ARM_APPENDED_DTB=y" >> $config
> +                             echo "# CONFIG_ARM_ATAG_DTB_COMPAT is not set" 
> >> $config

what about CONFIG_MIPS_APPENDED_DTB?

Can we ever make sure to cover all relevant architectures?

Regards,
Andreas

> +                     fi
> +             else
> +                     bberror 'The KERNEL_DEVICETREE_BUNDLE requires the 
> KERNEL_IMAGETYPE to contain zImage.'
> +             fi
> +     fi
> +}

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to