Commits
faqiang.zhu committed 37ebbbd39a7
MA-15722-1 specify the bootloader image in ota package the bootloader image in ota package is specified by the variable: "INSTALLED_RADIOIMAGE_TARGET" it's a copy from the file specified by below variable: "BOARD_OTA_BOOTLOADERIMAGE" now uboot.mk independent from the Android rootfs build process. so related logic of value assignment to "INSTALLED_RADIOIMAGE_TARGET" won't work as expected when use "make otapackage" to build the ota package, the value assignment should be moved to the makefile which is in Android rootfs build process. device specific makefiles is included by android core makefile in the order of "AndroidProducts.mk", "BoardConfig.mk", "AndroidBoard.mk". "INSTALLED_RADIOIMAGE_TARGET" is defined in build/core/definitions.mk after "BoardConfig.mk" is included, so we move its value assignment to "AndroidBoard.mk" copy the file specified by "BOARD_OTA_BOOTLOADERIMAGE" as bootloader.img everytime when build otapackage. Change-Id: Ifb806632e4bcb1b07cf03929bdd180878ca56c01 Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/10662 Reviewed-by: Wang Haoran <elven.wang@nxp.com> Reviewed-by: Jindong Yue <jindong.yue@nxp.com>