儲存庫 vbox 的更動 16532
- 時間撮記:
- 2009-2-5 下午05:03:04 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/Makefile.kmk
r16166 r16532 162 162 ifeq ($(KBUILD_TARGET),darwin) 163 163 qt4-bin_INST = $(INST_VIRTUALBOX)Contents/ 164 ifneq ($(KBUILD_TARGET_ARCH),amd64) 164 165 qt4-bin_SOURCES = \ 165 166 $(VBOX_PATH_QT4)/Frameworks/QtCore.framework/Versions/4/QtCore=>Frameworks/QtCore.framework/Versions/4/QtCore \ … … 179 180 @executable_path/../Frameworks/QtNetwork.framework/Versions/4/QtNetwork \ 180 181 $@ 182 endif 181 183 182 184 else ifeq ($(KBUILD_TARGET),win) … … 307 309 endif # !VBOX_ONLY_ADDITIONS 308 310 endif # !VBOX_ONLY_DOCS 309 310 311 include $(KBUILD_PATH)/subfooter.kmk312 311 313 312 … … 538 537 $(comp-vars VBOX_CORE_DOXYFILE_INPUT,DOXYGEN_INPUT_PREV,FORCE) \ 539 538 $(comp-vars VBOX_CORE_DOXYFILE_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE) \ 540 | $ (call DIRDEP, $(PATH_TARGET))539 | $$(dir $$@) 541 540 $(RM) -f $@ [email protected] $(PATH_TARGET)/Doxyfile.Core.dep 542 541 $(CP) -f Doxyfile.Core [email protected] … … 562 561 doxygen $(PATH_TARGET)/Doxyfile.Core 563 562 $(APPEND) $(PATH_TARGET)/docs.Core 563 564 565 566 # 567 # Build the additions, all of them. 568 # 569 # This is currently tailored (hardcoded) for the additions 570 # build box. Can make it pretty and configurable later. 571 # 572 # The fetching must be done in serial fashion, while the building 573 # should be more flexible wrt to -jN. 574 # 575 additions-fetch: 576 + $(KMK) -C tools fetch 577 + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=linux BUILD_TARGET_ARCH=amd64 BUILD_TARGET=linux 578 + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=linux BUILD_TARGET_ARCH=x86 BUILD_TARGET=linux 579 # + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=os2 BUILD_TARGET_ARCH=x86 BUILD_TARGET=os2 580 + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=solaris BUILD_TARGET_ARCH=amd64 BUILD_TARGET=solaris 581 + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=solaris BUILD_TARGET_ARCH=x86 BUILD_TARGET=solaris 582 + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=win BUILD_TARGET_ARCH=amd64 BUILD_TARGET=win 583 + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=win BUILD_TARGET_ARCH=x86 BUILD_TARGET=win 584 585 586 ## @todo Currently combined solaris additions building assumes that amd64 is 587 # built first. The windows amd64 additions need some x86 files, so don't change 588 # the order of the windows builds. 589 # Do not change the order of dependencies here without testing. 590 additions-build: \ 591 additions-build-win.x86 \ 592 additions-build-win.amd64 \ 593 additions-build-solaris.amd64 \ 594 additions-build-solaris.x86 \ 595 additions-build-os2.x86 \ 596 additions-build-linux.amd64 \ 597 additions-build-linux.x86 598 599 VBOX_ADDITIONS_BUILD.amd64 = VBOX_ONLY_ADDITIONS=1 VBOX_WITHOUT_ADDITIONS_ISO=1 \ 600 KBUILD_TYPE=$(KBUILD_TYPE) BUILD_TYPE=$(KBUILD_TYPE) \ 601 KBUILD_TARGET_ARCH=amd64 BUILD_TARGET_ARCH=amd64 \ 602 VBOX_SVN_REV=$(VBOX_SVN_REV) \ 603 all packing 604 605 VBOX_ADDITIONS_BUILD.x86 = VBOX_ONLY_ADDITIONS=1 VBOX_WITHOUT_ADDITIONS_ISO=1 \ 606 KBUILD_TYPE=$(KBUILD_TYPE) BUILD_TYPE=$(KBUILD_TYPE) \ 607 KBUILD_TARGET_ARCH=x86 BUILD_TARGET_ARCH=x86 \ 608 VBOX_SVN_REV=$(VBOX_SVN_REV) \ 609 all packing 610 611 # Automatically determine the additions build subdir name. Used for figuring 612 # out directory names inside the additions building VMs. 613 VBOX_ADDITIONS_BUILD_SUBDIRNAME := $(lastword $(subst /, ,$(PATH_ROOT))) 614 615 VBOX_KMK_TIME = $(KBUILD_BIN_PATH)/kmk_time 616 617 # Oh well, this gets really fancy - ms vc8 doesn't work inside ssh due to some 618 # session setup issue. So do this indirectly through psexec. The downside is 619 # that there is no direct build feedback. Also I couldn't get the share to 620 # work via psexec, so rsync over the result of the build. 621 additions-build-win.amd64: 622 ifeq ($(KBUILD_TARGET),win) 623 + $(VBOX_KMK_TIME) $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) 624 else 625 $(call MSG_L1,Building Windows/amd64 additions) 626 rsync -av --no-owner --no-group --delete --delete-excluded --exclude .svn/ --exclude tinderclient.log . 192.168.27.5:/cygdrive/e/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) 627 $(VBOX_KMK_TIME) ssh [email protected] c:/psexec/psexec.exe \\\\\\\\addvm -u vbox -p $(WIN64PASSWORD) c:\\\\cygwin\\\\bin\\\\bash.exe -c \''PATH=/usr/bin:/bin e:/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/tools/env.sh kmk $(VBOX_ADDITIONS_BUILD.amd64) > e:/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME).log 2>&1'\'; \ 628 rc=$$?; \ 629 rsync -av --delete 192.168.27.5:/cygdrive/e/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/win.amd64/ out/win.amd64; \ 630 mkdir -p out/win.amd64; \ 631 rsync -a --delete 192.168.27.5:/cygdrive/e/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME).log out/win.amd64/build.log; \ 632 cat out/win.amd64/build.log; \ 633 exit $$rc 634 endif 635 636 additions-build-win.x86: 637 ifeq ($(KBUILD_TARGET),win) 638 + $(VBOX_KMK_TIME) $(KMK) $(VBOX_ADDITIONS_BUILD.x86) 639 else 640 $(call MSG_L1,Building Windows/x86 additions) 641 rsync -av --no-owner --no-group --delete --delete-excluded --exclude .svn/ --exclude out/ --exclude tinderclient.log . 192.168.27.5:/cygdrive/e/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) 642 $(VBOX_KMK_TIME) ssh [email protected] " cd /cygdrive/e/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && PATH_OUT_BASE=Z:/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out tools/env.sh kmk $(VBOX_ADDITIONS_BUILD.x86)" 643 endif 644 645 additions-build-solaris.amd64: 646 ifeq ($(KBUILD_TARGET),solaris) 647 + $(VBOX_KMK_TIME) $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) 648 else 649 $(call MSG_L1,Building Solaris/amd64 additions) 650 $(VBOX_KMK_TIME) ssh [email protected] " cd /mnt/vbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && ./tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.amd64) " 651 endif 652 653 # ASSUMES 64-bit is built already. See @todo above. 654 additions-build-solaris.x86: 655 ifeq ($(KBUILD_TARGET),solaris) 656 + $(VBOX_KMK_TIME) $(KMK) $(VBOX_ADDITIONS_BUILD.x86) VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1 657 else 658 $(call MSG_L1,Building Solaris/x86 additions) 659 $(VBOX_KMK_TIME) ssh [email protected] " cd /mnt/vbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && ./tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1" 660 endif 661 662 additions-build-os2.x86: 663 #ifeq ($(KBUILD_TARGET),os2) 664 # + $(VBOX_KMK_TIME) $(KMK) $(VBOX_ADDITIONS_BUILD.x86) 665 #else 666 # $(VBOX_KMK_TIME) ssh [email protected] " cd /mnt/vbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && ./tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) " 667 #endif 668 669 additions-build-linux.amd64: 670 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.amd64) 671 + $(VBOX_KMK_TIME) $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) 672 else 673 $(call MSG_L1,Building Linux/amd64 additions) 674 $(VBOX_KMK_TIME) ssh [email protected] " cd /mnt/vbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && ./tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.amd64) " 675 endif 676 677 additions-build-linux.x86: 678 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.x86) 679 + $(VBOX_KMK_TIME) $(KMK) $(VBOX_ADDITIONS_BUILD.x86) 680 else 681 $(call MSG_L1,Building Linux/x86 additions) 682 $(VBOX_KMK_TIME) ssh [email protected] " cd /mnt/vbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && ./tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) " 683 endif 684 685 686 additions-packing: 687 + $(KMK) VBOX_ONLY_ADDITIONS=1 \ 688 VBOX_WITH_ADDITIONS_ISO.freebsd.amd64= \ 689 VBOX_WITH_ADDITIONS_ISO.freebsd.x86= \ 690 VBOX_WITH_ADDITIONS_ISO.linux.amd64=1 \ 691 VBOX_WITH_ADDITIONS_ISO.linux.x86=1 \ 692 VBOX_WITH_ADDITIONS_ISO.solaris.amd64=1 \ 693 VBOX_WITH_ADDITIONS_ISO.solaris.x86=1 \ 694 VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1 \ 695 VBOX_WITH_ADDITIONS_ISO.win.amd64=1 \ 696 VBOX_WITH_ADDITIONS_ISO.win.x86=1 \ 697 -C src/VBox/Additions \ 698 $(VBOX_PATH_ADDITIONS)/VBoxGuestAdditions.iso 699 700 701 702 # 703 # Generate VirtualBox-OSE-x.x.x.tar.bz2 tarballs for distribution 704 # 705 # - includes kBuild 706 # - must be executed on an OSE checkout 707 # 708 709 # the path where to store the tarball 710 TARBALLPATH ?= $(shell cd $(PATH_ROOT)/..; pwd) 711 #TARBALLPATH ?= $(abspath $(PATH_ROOT)/..) - this should also do the trick without spawning a shell. 712 # the root directory inside the tarball 713 TARBALLROOT ?= VirtualBox-$(VBOX_VERSION_STRING) 714 # the name of the tarball file 715 TARBALLNAME ?= VirtualBox-$(VBOX_VERSION_STRING).tar.bz2 716 snapshot: 717 @$(call MSG_L1,Creating tarball $(TARBALLPATH)/$(TARBALLNAME)) 718 @if [ -d "$(PATH_ROOT)/src/VBox/Devices/USB" ]; then echo; echo "Found USB stuff, refused to build OSE tarball!"; echo; exit 1; fi 719 $(QUIET)$(MKDIR) -p $(TARBALLPATH) 720 $(QUIET)$(RM) -f $(wildcard $(TARBALLPATH)/VirtualBox*) 721 $(QUIET)$(LN_SYMLINK) $(PATH_ROOT) $(TARBALLPATH)/$(TARBALLROOT) 722 $(QUIET)tar -cjh --owner 0 --group 0 --totals \ 723 --exclude=.svn \ 724 --exclude=$(TARBALLROOT)/out \ 725 --exclude=$(TARBALLROOT)/env.sh \ 726 --exclude=$(TARBALLROOT)/configure.log \ 727 --exclude=$(TARBALLROOT)/AutoConfig.kmk \ 728 --exclude=$(TARBALLROOT)/LocalConfig.kmk \ 729 -C $(TARBALLPATH) \ 730 -f $(TARBALLPATH)/$(TARBALLNAME) \ 731 $(TARBALLROOT) 732 $(QUIET)$(RM) $(TARBALLPATH)/$(TARBALLROOT) 733 734 735 # 736 # Generate ALL the rules. 737 # 738 include $(KBUILD_PATH)/subfooter.kmk 564 739 565 740 … … 679 854 680 855 681 #682 # Build the additions, all of them.683 #684 # This is currently tailored (hardcoded) for the additions685 # build box. Can make it pretty and configurable later.686 #687 # The fetching must be done in serial fashion, while the building688 # should be more flexible wrt to -jN.689 #690 additions-fetch:691 + $(KMK) -C tools fetch692 + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=linux BUILD_TARGET_ARCH=amd64 BUILD_TARGET=linux693 + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=linux BUILD_TARGET_ARCH=x86 BUILD_TARGET=linux694 # + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=os2 BUILD_TARGET_ARCH=x86 BUILD_TARGET=os2695 + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=solaris BUILD_TARGET_ARCH=amd64 BUILD_TARGET=solaris696 + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=solaris BUILD_TARGET_ARCH=x86 BUILD_TARGET=solaris697 + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=win BUILD_TARGET_ARCH=amd64 BUILD_TARGET=win698 + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=win BUILD_TARGET_ARCH=x86 BUILD_TARGET=win699 700 701 ## @todo Currently combined solaris additions building assumes that amd64 is702 # built first. The windows amd64 additions need some x86 files, so don't change703 # the order of the windows builds.704 # Do not change the order of dependencies here without testing.705 additions-build: \706 additions-build-win.x86 \707 additions-build-win.amd64 \708 additions-build-solaris.amd64 \709 additions-build-solaris.x86 \710 additions-build-os2.x86 \711 additions-build-linux.amd64 \712 additions-build-linux.x86713 714 VBOX_ADDITIONS_BUILD.amd64 = VBOX_ONLY_ADDITIONS=1 VBOX_WITHOUT_ADDITIONS_ISO=1 \715 KBUILD_TYPE=$(KBUILD_TYPE) BUILD_TYPE=$(KBUILD_TYPE) \716 KBUILD_TARGET_ARCH=amd64 BUILD_TARGET_ARCH=amd64 \717 VBOX_SVN_REV=$(VBOX_SVN_REV) \718 all packing719 720 VBOX_ADDITIONS_BUILD.x86 = VBOX_ONLY_ADDITIONS=1 VBOX_WITHOUT_ADDITIONS_ISO=1 \721 KBUILD_TYPE=$(KBUILD_TYPE) BUILD_TYPE=$(KBUILD_TYPE) \722 KBUILD_TARGET_ARCH=x86 BUILD_TARGET_ARCH=x86 \723 VBOX_SVN_REV=$(VBOX_SVN_REV) \724 all packing725 726 # Automatically determine the additions build subdir name. Used for figuring727 # out directory names inside the additions building VMs.728 VBOX_ADDITIONS_BUILD_SUBDIRNAME := $(lastword $(subst /, ,$(PATH_ROOT)))729 730 VBOX_KMK_TIME = $(KBUILD_BIN_PATH)/kmk_time731 732 # Oh well, this gets really fancy - ms vc8 doesn't work inside ssh due to some733 # session setup issue. So do this indirectly through psexec. The downside is734 # that there is no direct build feedback. Also I couldn't get the share to735 # work via psexec, so rsync over the result of the build.736 additions-build-win.amd64:737 ifeq ($(KBUILD_TARGET),win)738 + $(VBOX_KMK_TIME) $(KMK) $(VBOX_ADDITIONS_BUILD.amd64)739 else740 $(call MSG_L1,Building Windows/amd64 additions)741 rsync -av --no-owner --no-group --delete --delete-excluded --exclude .svn/ --exclude tinderclient.log . 192.168.27.5:/cygdrive/e/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)742 $(VBOX_KMK_TIME) ssh [email protected] c:/psexec/psexec.exe \\\\\\\\addvm -u vbox -p $(WIN64PASSWORD) c:\\\\cygwin\\\\bin\\\\bash.exe -c \''PATH=/usr/bin:/bin e:/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/tools/env.sh kmk $(VBOX_ADDITIONS_BUILD.amd64) > e:/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME).log 2>&1'\'; \743 rc=$$?; \744 rsync -av --delete 192.168.27.5:/cygdrive/e/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/win.amd64/ out/win.amd64; \745 mkdir -p out/win.amd64; \746 rsync -a --delete 192.168.27.5:/cygdrive/e/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME).log out/win.amd64/build.log; \747 cat out/win.amd64/build.log; \748 exit $$rc749 endif750 751 additions-build-win.x86:752 ifeq ($(KBUILD_TARGET),win)753 + $(VBOX_KMK_TIME) $(KMK) $(VBOX_ADDITIONS_BUILD.x86)754 else755 $(call MSG_L1,Building Windows/x86 additions)756 rsync -av --no-owner --no-group --delete --delete-excluded --exclude .svn/ --exclude out/ --exclude tinderclient.log . 192.168.27.5:/cygdrive/e/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)757 $(VBOX_KMK_TIME) ssh [email protected] " cd /cygdrive/e/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && PATH_OUT_BASE=Z:/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out tools/env.sh kmk $(VBOX_ADDITIONS_BUILD.x86)"758 endif759 760 additions-build-solaris.amd64:761 ifeq ($(KBUILD_TARGET),solaris)762 + $(VBOX_KMK_TIME) $(KMK) $(VBOX_ADDITIONS_BUILD.amd64)763 else764 $(call MSG_L1,Building Solaris/amd64 additions)765 $(VBOX_KMK_TIME) ssh [email protected] " cd /mnt/vbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && ./tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.amd64) "766 endif767 768 # ASSUMES 64-bit is built already. See @todo above.769 additions-build-solaris.x86:770 ifeq ($(KBUILD_TARGET),solaris)771 + $(VBOX_KMK_TIME) $(KMK) $(VBOX_ADDITIONS_BUILD.x86) VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1772 else773 $(call MSG_L1,Building Solaris/x86 additions)774 $(VBOX_KMK_TIME) ssh [email protected] " cd /mnt/vbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && ./tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1"775 endif776 777 additions-build-os2.x86:778 #ifeq ($(KBUILD_TARGET),os2)779 # + $(VBOX_KMK_TIME) $(KMK) $(VBOX_ADDITIONS_BUILD.x86)780 #else781 # $(VBOX_KMK_TIME) ssh [email protected] " cd /mnt/vbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && ./tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) "782 #endif783 784 additions-build-linux.amd64:785 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.amd64)786 + $(VBOX_KMK_TIME) $(KMK) $(VBOX_ADDITIONS_BUILD.amd64)787 else788 $(call MSG_L1,Building Linux/amd64 additions)789 $(VBOX_KMK_TIME) ssh [email protected] " cd /mnt/vbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && ./tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.amd64) "790 endif791 792 additions-build-linux.x86:793 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.x86)794 + $(VBOX_KMK_TIME) $(KMK) $(VBOX_ADDITIONS_BUILD.x86)795 else796 $(call MSG_L1,Building Linux/x86 additions)797 $(VBOX_KMK_TIME) ssh [email protected] " cd /mnt/vbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && ./tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) "798 endif799 800 801 additions-packing:802 + $(KMK) VBOX_ONLY_ADDITIONS=1 \803 VBOX_WITH_ADDITIONS_ISO.freebsd.amd64= \804 VBOX_WITH_ADDITIONS_ISO.freebsd.x86= \805 VBOX_WITH_ADDITIONS_ISO.linux.amd64=1 \806 VBOX_WITH_ADDITIONS_ISO.linux.x86=1 \807 VBOX_WITH_ADDITIONS_ISO.solaris.amd64=1 \808 VBOX_WITH_ADDITIONS_ISO.solaris.x86=1 \809 VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1 \810 VBOX_WITH_ADDITIONS_ISO.win.amd64=1 \811 VBOX_WITH_ADDITIONS_ISO.win.x86=1 \812 -C src/VBox/Additions \813 $(VBOX_PATH_ADDITIONS)/VBoxGuestAdditions.iso814 815 816 856 817 857 # … … 827 867 828 868 829 830 831 #832 # Generate VirtualBox-OSE-x.x.x.tar.bz2 tarballs for distribution833 #834 # - includes kBuild835 # - must be executed on an OSE checkout836 #837 838 # the path where to store the tarball839 TARBALLPATH ?= $(shell cd $(PATH_ROOT)/..; pwd)840 #TARBALLPATH ?= $(abspath $(PATH_ROOT)/..) - this should also do the trick without spawning a shell.841 # the root directory inside the tarball842 TARBALLROOT ?= VirtualBox-$(VBOX_VERSION_STRING)843 # the name of the tarball file844 TARBALLNAME ?= VirtualBox-$(VBOX_VERSION_STRING).tar.bz2845 snapshot:846 @$(call MSG_L1,Creating tarball $(TARBALLPATH)/$(TARBALLNAME))847 @if [ -d "$(PATH_ROOT)/src/VBox/Devices/USB" ]; then echo; echo "Found USB stuff, refused to build OSE tarball!"; echo; exit 1; fi848 $(QUIET)$(MKDIR) -p $(TARBALLPATH)849 $(QUIET)$(RM) -f $(wildcard $(TARBALLPATH)/VirtualBox*)850 $(QUIET)$(LN_SYMLINK) $(PATH_ROOT) $(TARBALLPATH)/$(TARBALLROOT)851 $(QUIET)tar -cjh --owner 0 --group 0 --totals \852 --exclude=.svn \853 --exclude=$(TARBALLROOT)/out \854 --exclude=$(TARBALLROOT)/env.sh \855 --exclude=$(TARBALLROOT)/configure.log \856 --exclude=$(TARBALLROOT)/AutoConfig.kmk \857 --exclude=$(TARBALLROOT)/LocalConfig.kmk \858 -C $(TARBALLPATH) \859 -f $(TARBALLPATH)/$(TARBALLNAME) \860 $(TARBALLROOT)861 $(QUIET)$(RM) $(TARBALLPATH)/$(TARBALLROOT)
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器