Ticket #5476: uboot.patch

File uboot.patch, 1008 bytes (added by mmadia, 15 years ago)
  • src/system/boot/platform/u-boot/Jamfile

     
    198198
    199199if $(HAIKU_BOARD_UBOOT_IMAGE) && $(HAIKU_BOARD_UBOOT_IMAGE_URL) {
    200200    # Download the u-boot binary file.
    201     DownloadFile $(HAIKU_BOARD_UBOOT_IMAGE) $(HAIKU_BOARD_UBOOT_IMAGE_URL) ;
     201    ubootFile = [ DownloadFile $(HAIKU_BOARD_UBOOT_IMAGE)
     202        : $(HAIKU_BOARD_UBOOT_IMAGE_URL) ] ;
    202203}
    203204
    204205# flash image targets
    205206BuildUBootFlashImage haiku_flash_image_raw.img : haiku_loader :
    206     $(HAIKU_BOARD_UBOOT_IMAGE) ;
     207    $(ubootFile) ;
    207208#BuildUBootFlashImage haiku_flash_image_elf.img : boot_loader_u-boot :
    208 #   $(HAIKU_BOARD_UBOOT_IMAGE) ;
     209#   $(ubootFile) ;
    209210BuildUBootFlashImage haiku_flash_image_uimage.img : haiku_loader.ub :
    210     $(HAIKU_BOARD_UBOOT_IMAGE) ;
     211    $(ubootFile) ;
    211212
    212213# SD/mmc image targets
    213214BuildUBootSDImage haiku.mmc : $(HAIKU_BOARD_SDIMAGE_FILES) ;