* Added partitioning system modules efi_gpt, amiga_rdb, and apple to the image.

* Changed the boot loader to have architecture dependent partition/file system
  support. Amiga/Apple partitions, and the AmigaFFS file system are now only
  supported on PPC, while EFI GPT, and the FAT file system is now only supported
  on x86.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31713 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-07-23 12:10:09 +00:00
parent c6efb0f437
commit c06e68d0c8
2 changed files with 25 additions and 9 deletions
+2 -2
View File
@@ -193,7 +193,7 @@ AddFilesToHaikuImage system add-ons kernel generic
: $(ATA_ONLY)ata_adapter dpc $(IDE_ONLY)ide_adapter locked_pool mpu401
scsi_periph ;
AddFilesToHaikuImage system add-ons kernel partitioning_systems
: intel session ;
: amiga_rdb apple efi_gpt intel session ;
AddFilesToHaikuImage system add-ons kernel interrupt_controllers
: $(PPC_ONLY)openpic ;
@@ -369,7 +369,7 @@ SEARCH on $(etcFiles) = [ FDirName $(HAIKU_TOP) data etc ] ;
etcFiles += <etc>termcap <etc>sysless <etc>sysless.in ;
AddFilesToHaikuImage system etc : $(etcFiles) ;
SEARCH on <bash_completion>subversion =
SEARCH on <bash_completion>subversion =
[ FDirName $(HAIKU_TOP) data etc bash_completion.d ] ;
AddFilesToHaikuImage system etc bash_completion.d : <bash_completion>subversion ;
+23 -7
View File
@@ -13,20 +13,36 @@ UsePrivateHeaders shared storage ;
local defines =
_BOOT_MODE
BOOT_ARCH=\\\"$(TARGET_ARCH)\\\"
KMESSAGE_CONTAINER_ONLY
BOOT_SUPPORT_PARTITION_AMIGA
BOOT_SUPPORT_PARTITION_APPLE
BOOT_SUPPORT_PARTITION_EFI
BOOT_SUPPORT_PARTITION_INTEL
BOOT_SUPPORT_FILE_SYSTEM_BFS
BOOT_SUPPORT_FILE_SYSTEM_FAT
BOOT_SUPPORT_FILE_SYSTEM_AMIGA_FFS
BOOT_SUPPORT_FILE_SYSTEM_TARFS
KMESSAGE_CONTAINER_ONLY
;
# Add architecture specific partition/file system modules
switch $(TARGET_ARCH) {
case "ppc" :
{
defines +=
BOOT_SUPPORT_PARTITION_AMIGA
BOOT_SUPPORT_PARTITION_APPLE
BOOT_SUPPORT_FILE_SYSTEM_AMIGA_FFS
;
}
case "x86" :
{
defines +=
BOOT_SUPPORT_PARTITION_EFI
BOOT_SUPPORT_FILE_SYSTEM_FAT
;
}
}
defines = [ FDefines $(defines) ] ;
SubDirCcFlags $(defines) -Wall -Wno-multichar ;
SubDirC++Flags $(defines) -Wall -Wno-multichar -fno-rtti ;