VirtualBox

Changeset 36222 in vbox


Ignore:
Timestamp:
Mar 9, 2011 12:36:23 PM (14 years ago)
Author:
vboxsync
Message:

Added VBOX_GTAR variable, fixing solaris build issue.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r36194 r36222  
    16031603VBOX_FILESPLIT ?= $(PATH_OBJ)/filesplitter/filesplitter$(HOSTSUFF_EXE)
    16041604
     1605# GNU tar if present.
     1606if1of ($(KBUILD_TARGET), linux os2 win)
     1607 VBOX_GTAR ?= tar
     1608else if1of ($(KBUILD_TARGET), freebsd solaris)
     1609 VBOX_GTAR ?= gtar
     1610endif
     1611
    16051612# mkisofs
    16061613ifeq ($(KBUILD_HOST),win)
     
    27742781        -Wshadow -Wuninitialized -Wunused-function -Wunused-label -Wunused-value -Wunused-variable \
    27752782        -Wformat \
    2776         -O2 -nodefaultlibs -fno-omit-frame-pointer -fno-strict-aliasing -fno-common -fno-exceptions -fno-rtti 
     2783        -O2 -nodefaultlibs -fno-omit-frame-pointer -fno-strict-aliasing -fno-common -fno-exceptions -fno-rtti
    27772784TEMPLATE_VBOXR0DRV_CXXFLAGS.x86       = $(TEMPLATE_VBOXR0DRV_CFLAGS.x86)
    27782785TEMPLATE_VBOXR0DRV_CXXFLAGS.amd64     = $(TEMPLATE_VBOXR0DRV_CFLAGS.amd64)
  • trunk/src/VBox/Frontends/Common/VBoxKeyboard/Makefile.kmk

    r29774 r36222  
    6969        $(QUIET)$(RM) -f -- $@ $(patsubst %.bz2,%,$@)
    7070        $(QUIET)$(MKDIR) -p $(@D)
    71 if1of ($(KBUILD_TARGET), freebsd)
    72         $(QUIET)tar -cjf $@ \
     71ifdef VBOX_GTAR
     72        $(QUIET)$(VBOX_GTAR) --owner 0 --group 0 --ignore-failed-read -cjRf $@ \
    7373                -C $(VBOX_KEYBOARD_STAGE_DIR) VBoxKeyboard
    7474else
    75         $(QUIET)tar --owner 0 --group 0 --ignore-failed-read -cjRf $@ \
     75        $(QUIET)tar -cjf $@ \
    7676                -C $(VBOX_KEYBOARD_STAGE_DIR) VBoxKeyboard
    7777endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette