$(hide) mkdir -p $(PRODUCT_UPGRADE_OUT)
ifneq ("$(wildcard $(FACTORY_PATH)/u-boot.bin)","")
$(hide) $(call aml-copy-file, $(FACTORY_PATH)/u-boot.bin)
-else ifneq ("$(wildcard vendor/firmware/m5/radio/bootloader.img)","")
- $(hide) $(call aml-copy-file, vendor/firmware/m5/radio/bootloader.img, u-boot.bin)
+else ifneq ("$(wildcard vendor/amlogic/m5/radio/bootloader.img)","")
+ $(hide) $(call aml-copy-file, vendor/amlogic/m5/radio/bootloader.img, u-boot.bin)
else
$(error "no u-boot.bin found in $(FACTORY_PATH)")
endif