VirtualBox

Changeset 44214 in vbox


Ignore:
Timestamp:
Dec 29, 2012 12:45:28 AM (12 years ago)
Author:
vboxsync
Message:

Installer/solaris/Makefile.kmk: Fixed symlink rules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/solaris/Makefile.kmk

    r43429 r44214  
    689689        $(QUIET)$(RM) -f $(SOLARIS_BASEINST_DIR)/$(PKG_FILENAME).tar.gz
    690690        $(QUIET)$(RM) -f $(SOLARIS_BASEINST_DIR)/$(PKG_FILENAME).pkg
    691         $(call MSG_L1,Packaging completed.)
     691        $(call MSG_L1,Packaging $@ is completed.)
    692692
    693693
     
    784784# as those binaries do not originate from $(PATH_STAGE_BIN)
    785785#
    786 $(addprefix $(SOLARIS_USRBIN_DIR)/,$(SOLARIS_USRBIN_LINKS)): \
    787                 $(SOLARIS_USRBIN_DIR)/% : % | $$(dir $$@)
     786## @todo r-bird: WTF is this supposed to do? The dependency is meaningless (VirtualBox - no path or anything).
     787#                Why this works from root is pure luck and has to do with kBuild's short target aliases.
     788#$(addprefix $(SOLARIS_USRBIN_DIR)/,$(SOLARIS_USRBIN_LINKS)): \
     789#               $(SOLARIS_USRBIN_DIR)/% : % | $$(dir $$@)
     790#       $(LN_SYMLINK) -f ../../$(SOLARIS_VBOXINST_SUBDIR)/VBox.sh $@
     791## Here is what probably was intended:
     792$(addprefix $(SOLARIS_USRBIN_DIR)/,$(SOLARIS_USRBIN_LINKS)): | $$(dir $$@)
    788793        $(LN_SYMLINK) -f ../../$(SOLARIS_VBOXINST_SUBDIR)/VBox.sh $@
    789794
     
    799804        $(call MSG_L1,Installing debug binaries $(SOLARIS_DBG_DIR))
    800805        $(call MSG_L1,Packing $@)
    801         $(QUIET)/usr/sfw/bin/gtar --dereference --owner 0 --group 0 \
     806        $(QUIET)$(SOL_GTAR) --dereference --owner 0 --group 0 \
    802807                -cjRhf "$(PATH_STAGE_BIN)/$(DBG_ARCHIVE)" -C "$(SOLARIS_INST_OUT_DIR)" "$(SOLARIS_DBG_DIR_NAME)"
    803808        $(QUIET)$(CHMOD) 0644 $@
     809        $(call MSG_L1,Packaging $@ is completed.)
    804810
    805811#
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