- add board-specific stuff to header paths,
- automatically download the u-boot flash image when set. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34917 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5926a6129f
commit
bc85c20bdd
@ -9,6 +9,10 @@ UsePrivateHeaders [ FDirName graphics common ] ;
|
||||
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 @@ if $(HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT_NAME) {
|
||||
$(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) ;
|
||||
|
Loading…
Reference in New Issue
Block a user