$(hide) mkdir -p $(PRODUCT_INSTALL_OUT)
ifneq ("$(wildcard $(FACTORY_PATH)/u-boot.bin)","")
$(hide) $(call aml-copy-install-file, $(FACTORY_PATH)/u-boot.bin)
-else ifeq ($(WITH_CONSOLE),true)
+else ifeq ($(WITH_CONSOLE_BL),true)
$(hide) $(call aml-copy-install-file, vendor/amlogic/radxa0/radio/bootloader-console.img, u-boot.bin)
else ifneq ("$(wildcard vendor/amlogic/radxa0/radio/bootloader.img)","")
$(hide) $(call aml-copy-install-file, vendor/amlogic/radxa0/radio/bootloader.img, u-boot.bin)
$(hide) mkdir -p $(PRODUCT_UPGRADE_OUT)
ifneq ("$(wildcard $(FACTORY_PATH)/u-boot.bin)","")
$(hide) $(call aml-copy-upgrade-file, $(FACTORY_PATH)/u-boot.bin)
-else ifeq ($(WITH_CONSOLE),true)
+else ifeq ($(WITH_CONSOLE_BL),true)
$(hide) $(call aml-copy-install-file, vendor/amlogic/radxa0/radio/bootloader-console.img, u-boot.bin)
else ifneq ("$(wildcard vendor/amlogic/radxa0/radio/bootloader.img)","")
$(hide) $(call aml-copy-upgrade-file, vendor/amlogic/radxa0/radio/bootloader.img, u-boot.bin)