New build system feature to shorten the turn-around times when working
with image files. E.g. jam -q update-image libbe.so kernel_x86 will only build libbe.so and the kernel (if necessary) and copy them onto the already existing Haiku image. The MIME DB will not be reinstalled, and only those source directories will be copied for which the AddSourceDirectoryToHaikuImage rule is given a second argument (e.g. "1"). The image will otherwise remain unchanged. The "update-vmware-image" and "update-install" work similarly for the VMWare image and the directory installation respectively. Note that, due to the way the VMWare image is created (prepending a header to the standard image), the file itself is fully rebuilt, i.e. changes made during the emulation will be lost after updating the VMWare image. The feature requires Haiku's jam. With other jam versions a similar effect can be reached by accordingly setting the HAIKU_IMAGE_UPDATE_ONLY and HAIKU_INCLUDE_IN_IMAGE in the UserBuildConfig file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20602 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -35,6 +35,17 @@ HAIKU_VMWARE_IMAGE_NAME = walter.vmdk ;
|
||||
# Install Haiku in directory /Haiku.
|
||||
HAIKU_INSTALL_DIR = /Haiku ;
|
||||
|
||||
# Affects the haiku-image, haiku-vmware-image, and install-haiku targets. Only
|
||||
# targets on which the HAIKU_INCLUDE_IN_IMAGE variable has been set will be
|
||||
# updated in the image file/installation directory.
|
||||
# The update-image, update-vmware-image, and update-install targets always set
|
||||
# this variable, so one likely doesn't ever need to set it manually.
|
||||
HAIKU_IMAGE_UPDATE_ONLY = 1 ;
|
||||
|
||||
# libbe.so and the kernel will be updated on image updates. Note that this
|
||||
# doesn't work for pseudo targets like "kernel".
|
||||
HAIKU_INCLUDE_IN_IMAGE on libbe.so kernel_x86 = 1 ;
|
||||
|
||||
# Add "crashing_app" to the beos/bin directory of the Haiku image/installation.
|
||||
# Note, that this also makes the image depend on the target, i.e. it is
|
||||
# automatically updated when the image is built.
|
||||
@@ -43,9 +54,13 @@ AddFilesToHaikuImage beos bin : crashing_app ;
|
||||
# Make a symlink to home/config/bin/crash.
|
||||
AddSymlinkToHaikuImage home config bin : /beos/bin/crashing_app : crash ;
|
||||
|
||||
# Adds the source directory src/kits/storage (recursively) to the image
|
||||
# (as /boot/home/HaikuSources/src/kits/storage).
|
||||
AddSourceDirectoryToHaikuImage src kits storage ;
|
||||
# Adds the source directories src/kits/storage and src/tests/servers/debug
|
||||
# (recursively) to the image (as /boot/home/HaikuSources/src/kits/storage
|
||||
# and /boot/home/HaikuSources/src/tests/servers/debug respectively).
|
||||
# Note that the second directory will also be copied, if the image will only
|
||||
# be updated; the first one won't in that case.
|
||||
AddSourceDirectoryToHaikuImage src/kits/storage ;
|
||||
AddSourceDirectoryToHaikuImage src/tests/servers/debug : 1 ;
|
||||
|
||||
# Specify scripts that shall be run when populating the image/installation
|
||||
# directory. The "early" script is run before anything has been copied onto
|
||||
|
||||
Reference in New Issue
Block a user