2013-05-20 19:37:40 +02:00
|
|
|
local haikuLoaderPackage = haiku_loader.hpkg ;
|
|
|
|
HaikuPackage $(haikuLoaderPackage) ;
|
|
|
|
|
2018-11-28 18:31:15 +00:00
|
|
|
# Add compiled boot loaders for architecture
|
|
|
|
# NOTE: bios_ia32 *MUST* be first on x86 in the hpkg for the MBR loader.
|
|
|
|
# It currently is based on name (b before e)
|
|
|
|
local bootTarget ;
|
|
|
|
for bootTarget in $(HAIKU_BOOT_TARGETS) {
|
|
|
|
AddFilesToPackage : haiku_loader.$(bootTarget) ;
|
|
|
|
}
|
2013-05-20 19:37:40 +02:00
|
|
|
|
|
|
|
# Force no compression, so the stage one loader can directly execute the boot
|
|
|
|
# loader.
|
|
|
|
HAIKU_PACKAGE_COMPRESSION_LEVEL on $(haikuLoaderPackage) = 0 ;
|
|
|
|
|
|
|
|
BuildHaikuPackage $(haikuLoaderPackage) : haiku_loader ;
|