haiku_loader.hpkg: Add each compiled boot target

This commit is contained in:
Alexander von Gluck IV 2018-11-28 18:31:15 +00:00
parent 887990594d
commit 349326db27

View File

@ -1,10 +1,13 @@
local haikuLoaderPackage = haiku_loader.hpkg ; local haikuLoaderPackage = haiku_loader.hpkg ;
HaikuPackage $(haikuLoaderPackage) ; HaikuPackage $(haikuLoaderPackage) ;
# Add compiled boot loaders for architecture
# boot loader # NOTE: bios_ia32 *MUST* be first on x86 in the hpkg for the MBR loader.
AddFilesToPackage : haiku_loader.$(HAIKU_KERNEL_PLATFORM) ; # It currently is based on name (b before e)
local bootTarget ;
for bootTarget in $(HAIKU_BOOT_TARGETS) {
AddFilesToPackage : haiku_loader.$(bootTarget) ;
}
# Force no compression, so the stage one loader can directly execute the boot # Force no compression, so the stage one loader can directly execute the boot
# loader. # loader.