We're using the TI GingerBread 2.3.4 distribution for our Android builds. Typically, we build each of the three layers (u-boot, kernel, android) separately.
But, sometimes when we build the android layer (using 'make TARGET_PRODUCT=am3517evm OMAPES=3.x -j8'), that android build, seemingly on its own, invokes a rebuild of the kernel. I had never seen this happen until a couple of weeks ago. When it does happen, Android appears to then use that kernel to resolve certain library needs by kernel dependencies within Android.
The problem is, that kernel that Android builds appears to be wrong, resulting in error messages, and a generated Android rootfs is not correct.
So, why is it that Android sometimes rebuilds the kernel? While it has the appearance of randomness, there's obviously something about our setup that now causes this to happen sometimes, but not always.
Thanks,
Ron