TARGET_BOOTLOADER_CONFIG := imx6q : mx6qsabreautoandroid_config imx6dl : mx6dlsabreautoandroid_config imx6solo : mx6solosabresdandroid_config imx6qp : mx6qpsabreautoandroid_config
core/Makefile:
BOOTLOADER_CROSS_TOOLCHAIN := `pwd`/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- BOOTLOADER_ENV := ARCH=arm CROSS_COMPILE=$(BOOTLOADER_CROSS_TOOLCHAIN) HOST_PROCESSOR := $(shell cat /proc/cpuinfo | grep processor | wc -l) TARGET_BOOTLOADER_IMAGE := $(PRODUCT_OUT)/u-boot.imx BOOTLOADER_PATH := bootable/bootloader/uboot-imx/ BOOTLOADER_CONFIG_FILE := $(BOOTLOADER_PATH)/include/config.h bootloader: $(TARGET_BOOTLOADER_IMAGE) $(TARGET_BOOTLOADER_IMAGE): for ubootplat in $(TARGET_BOOTLOADER_CONFIG); do \ UBOOT_PLATFORM=`echo $$ubootplat | cut -d':' -f1`; \ UBOOT_CONFIG=`echo $$ubootplat | cut -d':' -f2`; \ echo $(UBOOT_PLATFORM); \ echo $(UBOOT_CONFIG); \ $(MAKE) -C bootable/bootloader/uboot-imx/ distclean $(BOOTLOADER_ENV); \ $(MAKE) -C bootable/bootloader/uboot-imx/ $$UBOOT_CONFIG $(BOOTLOADER_ENV); \ $(MAKE) -C bootable/bootloader/uboot-imx/ $(BOOTLOADER_ENV); \ install -D bootable/bootloader/uboot-imx/u-boot.imx $(PRODUCT_OUT)/u-boot-$$UBOOT_PLATFORM.imx; \ install -D bootable/bootloader/uboot-imx/u-boot.imx $@; \ done
所以 command 就是..
make mx6dlsabreautoandroid_config
沒有留言:
張貼留言