[haiku-commits] r34917 - haiku/trunk/src/system/boot/platform/u-boot

  • From: revol@xxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 6 Jan 2010 18:47:54 +0100 (CET)

Author: mmu_man
Date: 2010-01-06 18:47:54 +0100 (Wed, 06 Jan 2010)
New Revision: 34917
Changeset: http://dev.haiku-os.org/changeset/34917/haiku

Modified:
   haiku/trunk/src/system/boot/platform/u-boot/Jamfile
Log:
- add board-specific stuff to header paths,
- automatically download the u-boot flash image when set.


Modified: haiku/trunk/src/system/boot/platform/u-boot/Jamfile
===================================================================
--- haiku/trunk/src/system/boot/platform/u-boot/Jamfile 2010-01-06 13:37:08 UTC 
(rev 34916)
+++ haiku/trunk/src/system/boot/platform/u-boot/Jamfile 2010-01-06 17:47:54 UTC 
(rev 34917)
@@ -9,6 +9,10 @@
 UsePrivateHeaders [ FDirName graphics vesa ] ;
 UsePrivateHeaders [ FDirName storage ] ;
 
+# XXX: FIXME! move this to arch/arm !
+
+UsePrivateHeaders [ FDirName kernel arch arm board $(TARGET_BOOT_BOARD) ] ;
+
 {
        local defines = _BOOT_MODE ;
 
@@ -192,6 +196,11 @@
                $(HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT) ;
 }
 
+if $(HAIKU_BOARD_UBOOT_IMAGE) && $(HAIKU_BOARD_UBOOT_IMAGE_URL) {
+       # Download the u-boot binary file.
+       DownloadFile $(HAIKU_BOARD_UBOOT_IMAGE) $(HAIKU_BOARD_UBOOT_IMAGE_URL) ;
+}
+
 # flash image targets
 BuildUBootFlashImage haiku_flash_image_raw.img : haiku_loader : 
        $(HAIKU_BOARD_UBOOT_IMAGE) ;


Other related posts:

  • » [haiku-commits] r34917 - haiku/trunk/src/system/boot/platform/u-boot - revol