Changeset 19153 in vbox
- Timestamp:
- Apr 24, 2009 6:56:21 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 46407
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.kmk
r19010 r19153 699 699 700 700 # 701 # Generate VirtualBox-OSE-x.x.x.tar.bz2 tarballs for distribution702 # 701 # Generate VirtualBox-OSE-x.x.x.tar.bz2 (OSE) tarballs for distribution 702 # Generate VirtualBox-x.x.x.tar.bz2 (PUEL) for internal use only 703 703 # - includes kBuild 704 704 # - must be executed on an OSE checkout … … 706 706 707 707 # the path where to store the tarball 708 TARBALLPATH ?= $(shell cd $(PATH_ROOT)/..; pwd) 709 #TARBALLPATH ?= $(abspath $(PATH_ROOT)/..) - this should also do the trick without spawning a shell. 708 TARBALLPATH ?= $(abspath $(PATH_ROOT)/..) 710 709 # the root directory inside the tarball 711 710 TARBALLROOT ?= VirtualBox-$(VBOX_VERSION_STRING) 712 711 # the name of the tarball file 713 712 TARBALLNAME ?= VirtualBox-$(VBOX_VERSION_STRING).tar.bz2 714 snapshot :713 snapshot-ose snapshot-puel: 715 714 @$(call MSG_L1,Creating tarball $(TARBALLPATH)/$(TARBALLNAME)) 716 @if [ -d "$(PATH_ROOT)/src/VBox/Devices/USB" ]; then echo; echo "Found USB stuff, refused to build OSE tarball!"; echo; exit 1; fi 715 @if [ "$@" = "snapshot-ose" ]; then \ 716 if [ -d "$(PATH_ROOT)/src/VBox/Devices/USB" ]; then \ 717 echo; \ 718 echo "Found USB stuff, refused to build OSE tarball!"; \ 719 echo; \ 720 exit 1; \ 721 fi; \ 722 if [ -z "$(VBOX_OSE)" ]; then \ 723 echo; \ 724 echo "Please do 'kmk snapshot-ose VBOX_OSE=1'"; \ 725 echo; \ 726 exit 1; \ 727 fi; \ 728 else \ 729 if [ ! -d "$(PATH_ROOT)/src/VBox/Devices/USB" ]; then \ 730 echo; \ 731 echo "Did not find USB stuff, is this an OSE branch?"; \ 732 echo; \ 733 exit 1; \ 734 fi; \ 735 fi 717 736 $(QUIET)$(MKDIR) -p $(TARBALLPATH) 718 $(QUIET)$(RM) -f $( wildcard $(TARBALLPATH)/VirtualBox*)737 $(QUIET)$(RM) -f $(TARBALLPATH)/$(TARBALLROOT) 719 738 $(QUIET)$(LN_SYMLINK) $(PATH_ROOT) $(TARBALLPATH)/$(TARBALLROOT) 720 739 $(QUIET)tar -cjh --owner 0 --group 0 --totals \
Note:
See TracChangeset
for help on using the changeset viewer.