- Timestamp:
- May 27, 2008 12:28:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/Makefile.kmk
r9102 r9156 30 30 SOLARIS_INST_DIR := $(PATH_TARGET)/install 31 31 SOLARIS_DBG_DIR := $(PATH_TARGET)/installdbg 32 SOLARIS_VBI_DIR := $(PATH_TARGET)/installvbi 32 33 SOL_DBG_OBJCOPY := $(CP) -p # Solaris ld/gobjcopy(2.15) don't get along on x86, works only on amd64. So just using cp for now. 33 34 SOL_OBJCOPY := /usr/sfw/bin/gobjcopy --strip-unneeded -R .comment 34 35 36 # Base package 35 37 PKGINFO_ARCH = $(shell uname -p) 36 38 PKGINFO_REVSTAMP = $(date %Y.%m.%d.%H.%M) 37 39 PKG_FILENAME = VirtualBox-$(VBOX_VERSION_STRING)-SunOS-$(KBUILD_TARGET_ARCH)-r$(VBOX_SVN_REV) 38 DBG_ARCHIVE = VirtualBox-dbg.tar.bz2 40 41 # Debug package 42 DBG_ARCHIVE = VirtualBoxDebug.tar.bz2 43 44 # Kernel interface (vbi) package 45 VBIPKG_FILENAME = VirtualBoxKern-$(VBOX_VERSION_STRING)-SunOS-r$(VBOX_SVN_REV) 39 46 40 47 # Targets 41 48 INSTALLS = solaris-doc 42 PACKING = $(PATH_BIN)/$(PKG_FILENAME).tar.gz $(PATH_BIN)/$( DBG_ARCHIVE)49 PACKING = $(PATH_BIN)/$(PKG_FILENAME).tar.gz $(PATH_BIN)/$(VBIPKG_FILENAME).tar.gz $(PATH_BIN)/$(DBG_ARCHIVE) 43 50 OTHER_CLEAN = $(addprefix $(SOLARIS_INST_DIR)/,\ 44 51 vbox.pkginfo vbox.copyright vbox.space vbox.pkgresponse \ … … 170 177 $(SOLARIS_INST_DIR)/$(PKG_FILENAME).pkg \ 171 178 $(addprefix $(SOLARIS_DBG_DIR)/,$(SOLARIS_STRIP_BINS)) \ 172 $(SOLARIS_DBG_DIR)/$(DBG_ARCHIVE) 179 $(SOLARIS_DBG_DIR)/$(DBG_ARCHIVE) \ 180 $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).tar.gz \ 181 $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg 173 182 174 183 include $(KBUILD_PATH)/footer.kmk … … 312 321 $(QUIET)$(RM) -f $(SOLARIS_INST_DIR)/$(PKG_FILENAME).pkg 313 322 323 324 $(PATH_BIN)/$(VBIPKG_FILENAME).tar.gz: \ 325 $(VBOX_VERSION_STAMP) \ 326 vbi/vboxkern.pkginfo \ 327 vbi/makepackage.sh \ 328 $(PATH_ROOT)/doc/ReadMe-Solaris-vbi.txt \ 329 Makefile.kmk \ 330 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/32/vbi \ 331 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/64/vbi 332 $(call MSG_L1,Installing vbi binaries $(SOLARIS_VBI_DIR)) 333 $(QUIET)$(RM) -Rf $(SOLARIS_VBI_DIR) 334 $(QUIET)$(MKDIR) -p $(SOLARIS_VBI_DIR)/amd64 335 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/32/vbi $(SOLARIS_VBI_DIR)/vbi 336 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/64/vbi $(SOLARIS_VBI_DIR)/amd64/vbi 337 $(call MSG_L1,Installing other files $(SOLARIS_VBI_DIR)) 338 $(QUIET)$(SED) \ 339 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \ 340 -e "s/@VBOX_SVN_REV@/$(VBOX_SVN_REV)/g" \ 341 --output $(SOLARIS_VBI_DIR)/ReadMe.txt \ 342 $(PATH_ROOT)/doc/ReadMe-Solaris-vbi.txt 343 $(QUIET)$(SED) \ 344 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \ 345 -e "s/@VBOX_VERSION_REVSTAMP@/$(PKGINFO_REVSTAMP)/g" \ 346 -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \ 347 --output $(SOLARIS_VBI_DIR)/vboxkern.pkginfo \ 348 $(PATH_CURRENT)/vbi/vboxkern.pkginfo 349 $(QUIET)$(INSTALL) -m 0755 $(PATH_CURRENT)/vbi/makepackage.sh $(SOLARIS_VBI_DIR)/makepackage.sh 350 $(call MSG_L1,Creating install package: $(VBIPKG_FILENAME).tar.gz) 351 $(QUIET)$(SOLARIS_VBI_DIR)/makepackage.sh $(SOLARIS_VBI_DIR) $(VBIPKG_FILENAME) 352 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).tar.gz $(PATH_BIN) 353 @# Clean up files emitted as side-effect or result of packing 354 $(QUIET)$(RM) -f $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).tar.gz 355 $(QUIET)$(RM) -f $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg 356 357 314 358 $(PATH_BIN)/$(DBG_ARCHIVE): \ 315 359 $(VBOX_VERSION_STAMP) \
Note:
See TracChangeset
for help on using the changeset viewer.