Ticket #5205: OptionalBuildFeatures-download-uboot.patch

File OptionalBuildFeatures-download-uboot.patch, 762 bytes (added by mmadia, 12 years ago)
  • build/jam/OptionalBuildFeatures

     
    22# build. For features that require downloading a zip file from somewhere it is
    33# likely the same file use for an optional package.
    44
     5# u-boot binary
    56
     7# Automatically download the u-boot binary, when building the arm platform.
     8if $(TARGET_ARCH) = arm {
     9    if $(HAIKU_BOARD_UBOOT_IMAGE) && $(HAIKU_BOARD_UBOOT_IMAGE_URL) {
     10        # Download the u-boot binary file.
     11        DownloadFile $(HAIKU_BOARD_UBOOT_IMAGE) $(HAIKU_BOARD_UBOOT_IMAGE_URL) ;
     12    }
     13}
     14
    615# SSL
    716
    817# Automatically enable the SSL feature, when the optional OpenSSL optional