On 6 August 2013 07:25, sowmya <sowmya.ls@calsoftlabs.com> wrote:
Hi,
  We just added  TARGET_CPU_VARIANT:= generic in device /linaro/iMX53/BoardConfig.mk file.
Then we got error saying no uboot diectory, as of now uboot was not required as we already have uboot image for imx53.
So commented below line in     "device/linaro/common/tasks/kernel.mk"  file
#BOOTLOADER_DEP := $(PRODUCT_OUT)/u-boot.bin

That's not the right way to remove u-boot.
That kicks the dependency of the kernel on u-boot, but what happens with tarball generation etc. when it expects u-boot to be there but it wasn't built is undefined.

If you want to disable u-boot, set TARGET_USE_UBOOT := false in BoardConfig.mk

The other way to fix it is to just pull in the right u-boot source, which happens to be the same one Panda uses.
I've added this fix, things should work now after a "repo sync"

http://review.android.git.linaro.org/4343
http://review.android.git.linaro.org/4344

ttyl
bero