Allow stripping binaries when copying to image containers
Currently only needed for boot floppy on some platforms. Disabled for now. Note we do not have a mean of knowing which file is a binary or not so we just try to strip, and silently continue when strip fails (like on the kernel settings file). Also note strip actually replaces the file, which means it looses both the resources and attributes, which shouldn't be a problem for the boot floppy drivers archive, but is not wanted for other images, so it's not usable elsewhere as such. Patch wanted.
This commit is contained in:
@@ -41,6 +41,8 @@ HAIKU_INSTALL_TARGETS_VAR on $(HAIKU_FLOPPY_BOOT_IMAGE_CONTAINER_NAME)
|
||||
= HAIKU_FLOPPY_BOOT_IMAGE_INSTALL_TARGETS ;
|
||||
HAIKU_CONTAINER_SYSTEM_DIR_TOKENS on $(HAIKU_FLOPPY_BOOT_IMAGE_CONTAINER_NAME)
|
||||
= system ;
|
||||
#HAIKU_CONTAINER_STRIP_BINARIES on $(HAIKU_FLOPPY_BOOT_IMAGE_CONTAINER_NAME)
|
||||
# = 1 ;
|
||||
|
||||
# boot CD image
|
||||
HAIKU_CD_BOOT_IMAGE_CONTAINER_NAME = haiku-boot-cd-container ;
|
||||
|
||||
Reference in New Issue
Block a user