VirtualBox

Changeset 37880 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Jul 12, 2011 9:12:30 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72779
Message:

Installer/linux/Makefile.kmk: Don't glob twice (prerequisites are expanded when reading the makefile) and name the variable sensibly (there is no 'local' variables on the Makefile level yet, only in defines and such).

File:
1 edited

Legend:

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

    r37549 r37880  
    379379# to the module source directories.
    380380#
    381 local arch_deps = \
    382                 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/, $(VBOX_LNX_ARCH_FILES)) \
    383                 $(VBOX_LNX_INST_DEP_ON_MAKEFILE) \
    384                 $(VBOX_VERSION_STAMP) \
    385                 $(wildcard $(PATH_BIN)/src/*) \
    386                 $(wildcard $(PATH_BIN)/src/*/*) \
    387                 $(wildcard $(PATH_BIN)/src/*/*/*) \
    388                 $(wildcard $(PATH_BIN)/src/*/*/*/*)
     381VBoxLnxInstArchDeps := \
     382        $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/, $(VBOX_LNX_ARCH_FILES)) \
     383        $(VBOX_LNX_INST_DEP_ON_MAKEFILE) \
     384        $(VBOX_VERSION_STAMP) \
     385        $(wildcard $(PATH_BIN)/src/*) \
     386        $(wildcard $(PATH_BIN)/src/*/*) \
     387        $(wildcard $(PATH_BIN)/src/*/*/*) \
     388        $(wildcard $(PATH_BIN)/src/*/*/*/*)
    389389
    390390
     
    392392# .tar.bz2 for converting into .run
    393393#
    394 $(VBOX_LNX_INST_STAGE_DIR)/VirtualBox.tar.bz2: \
    395                 $(arch_deps)
     394$(VBOX_LNX_INST_STAGE_DIR)/VirtualBox.tar.bz2: $(VBoxLnxInstArchDeps)
    396395        $(call MSG_L1,Packing $@)
    397396        $(QUIET)$(RM) -f -- $@ $(patsubst %.bz2,%,$@)
     
    408407# .tar.bz2 for distribution with the files under VirtualBox-<ver>/.
    409408#
    410 $(PATH_BIN)/VirtualBox.tar.bz2: \
    411                 $(arch_deps)
     409$(PATH_BIN)/VirtualBox.tar.bz2: $(VBoxLnxInstArchDeps)
    412410        $(call MSG_L1,Packing $@)
    413411        $(QUIET)$(RM) -f -- $(VBOX_LNX_INST_OUT_DIR)/VirtualBox-$(VBOX_VERSION_STRING) $@ $(patsubst %.bz2,%,$@)
Note: See TracChangeset for help on using the changeset viewer.

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