ENGR00230334: Fix the u-boot distclean rule

The u-boot distclean need the CROSS_COMPILE prefix
otherwise it assumes arm-linux- and does not find the
compiler.

Change-Id: If12d94f0b91c4f73bc5dca6f5fc14223f4f90320
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
ENGR00238882 build: add support for ubifs image.

add ubifs image generate command for jb.

Change-Id: I8a2dc9d5e81cbb5eb77cf6a5631489169bb3ecd0
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
ENGR00239187 build: fix error bring by last ubi support patch.

This patch is fixing the ext4 image generate to yaffs2 image issue.

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
ENGR00254281: add support to build differnt target images

Introduce a simple way to build ubifs for nand device base on Android
build system.
For those boards support booting from both NAND and eMMC/SD, this patch
provide a way to build out nand images with just add a build option to
enable build ubifs or ext4.
e.g make BUILD_TARGET_FS=ubifs will build image for NAND device
      make BUILD_TARGET_FS=ext4 will build image for eMMC/SD
	  if don't add BUILD_TARGET_FS when build, the build system will
	  build image according default config in BoardConfig.mk file.

Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
ENGR00235835 add kernel modules build rules.

Add kernel modules build and install rules,
let BoardConfig to install the kernel modules on thier config.

usage:
add the TARGET_KERNEL_MODULES var in your board config:
eg:
(replace '\' to \)

TARGET_KERNEL_MODULES := '\'
    kernel_imx/net/wireless/cfg80211.ko:system/lib/modules/cfg80211.ko

Rules are like the product files.

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
(cherry picked from commit 505c9302d54eb9472ce004117b2410c46548f076)
ENGR00253923 Build: refactor kernelmodules compile rule

1. Don't insert kernelmodules compile rule in kernelimage's rule.
move it out.
2. Don't let kernelmodules depend config which is the same with
kernelimage. For it is really depend prebuild kernel. Or it will
corrupt android's multi-job compile env.

Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
ENGR00272459 Make sure kernel will be rebuilt for different board config

Change the dependency kernelimage target to $(PRODUCT_OUT)/.config from
kernel_imx/.config, which will make sure different board config have
different $(PRODUCT_OUT)/.config.

Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
ENGR00272459-1 Make sure kernel will be rebuilt for different board config

Define KERNEL_CONFIGURE otherwise a clean build on kernel will fail

Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
ENGR00273616 Merge recovery.fstab into fstab.freescale

Refer TARGET_RECOVERY_FSTAB for TARGET_USERIMAGES_USE_UBIFS

Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>