* Refactored the image creation rules. There are now generalized rules that
work on arbitrary "containers". The image rules are just specializations. * Added rules, a definition file (build/jam/NetBootArchive), and a shell script for creating a gzipped tar archive containing kernel and modules required for network booting (the contents may need some fine-tuning). ATM it can be built via the haiku-netboot-archive pseudo target. It is generated in the output directory (e.g. "generated"). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21591 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
+20
-1
@@ -33,7 +33,7 @@ if $(JAM_TARGETS) {
|
||||
} else if $(JAM_TARGETS[1]) = update-image
|
||||
|| $(JAM_TARGETS[1]) = update-vmware-image
|
||||
|| $(JAM_TARGETS[1]) = update-install {
|
||||
HAIKU_IMAGE_UPDATE_ONLY = 1 ;
|
||||
SetUpdateHaikuImageOnly 1 ;
|
||||
HAIKU_INCLUDE_IN_IMAGE on $(JAM_TARGETS[2-]) = 1 ;
|
||||
|
||||
if $(JAM_TARGETS[1]) = update-image {
|
||||
@@ -724,6 +724,25 @@ if $(TARGET_PLATFORM) = libbe_test {
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - container settings
|
||||
|
||||
# Haiku image
|
||||
HAIKU_IMAGE_CONTAINER_NAME = haiku-image-container ;
|
||||
HAIKU_CONTAINER_GRIST on $(HAIKU_IMAGE_CONTAINER_NAME) = HaikuImage ;
|
||||
HAIKU_INCLUDE_IN_CONTAINER_VAR on $(HAIKU_IMAGE_CONTAINER_NAME)
|
||||
= HAIKU_INCLUDE_IN_IMAGE ;
|
||||
HAIKU_INSTALL_TARGETS_VAR on $(HAIKU_IMAGE_CONTAINER_NAME)
|
||||
= HAIKU_IMAGE_INSTALL_TARGETS ;
|
||||
|
||||
# network boot archive
|
||||
HAIKU_NET_BOOT_ARCHIVE_CONTAINER_NAME = haiku-netboot-archive-container ;
|
||||
HAIKU_CONTAINER_GRIST on $(HAIKU_NET_BOOT_ARCHIVE_CONTAINER_NAME)
|
||||
= NetBootArchive ;
|
||||
# HAIKU_INCLUDE_IN_CONTAINER_VAR -- update only mode not supported
|
||||
HAIKU_INSTALL_TARGETS_VAR on $(HAIKU_NET_BOOT_ARCHIVE_CONTAINER_NAME)
|
||||
= HAIKU_NET_BOOT_ARCHIVE_INSTALL_TARGETS ;
|
||||
|
||||
|
||||
#pragma mark -
|
||||
|
||||
# common stuff
|
||||
|
||||
Reference in New Issue
Block a user