we are using yocto setup.But we one doubt is it possible to access two machine configurations from single u-boot source bb file ?
machine1 and machine2 configure in sources/meta-fsl-bsp-release/imx/meta-fsl-arm/conf/machine/machine1.conf
like that i gave two machine configurations but i added both machine related patches in u-boot source bb file.
But with out commenting both patch files how can I access one machine patch file in bb file .in bb file
$ vi sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2014.04.bb
From above bb file is it possible to access two different machine configurations by setting machine name
we added the below two lines in above u-boot bb file .
if [ "$MACHINE" = "imx6_zcam" ]; then
elif [ "$MACHINE" = "imx6_zcam_custom" ]; then
Then export build directory
$source setenvironment -b build
In the above file we gave MACHINE ??=machine1 selected
Then extract u-boot source
$bitbake u-boot -c unapck -f
Then apply patch
$bitbake u-boot -c patch -f
But patch was not applied .so any body have any idea of that .
$bitbake u-boot -c compile/build -f
i gave its not compiling giving patch was not extract .
Thanks & Regards