VirtualBox

Changeset 43323 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Sep 13, 2012 2:34:14 PM (12 years ago)
Author:
vboxsync
Message:

Additions/linux/installer: fix makefile dependencies.

File:
1 edited

Legend:

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

    r43322 r43323  
    281281endif
    282282
    283 # pattern rule for copying the VBOX_LNX_ADD_KMOD files to the installation directory
    284 $(addprefix $(VBOX_LNX_ADD_INST_KMOD_DIR),$(VBOX_LNX_ADD_KMOD_DIRS) $(VBOX_LNX_ADD_KMOD_FILES)): \
     283# pattern rules for copying the VBOX_LNX_ADD_KMOD files to the installation directory
     284$(addprefix $(VBOX_LNX_ADD_INST_KMOD_DIR),$(VBOX_LNX_ADD_KMOD_DIRS)): \
     285                $(VBOX_LNX_ADD_INST_KMOD_DIR_MOD)% : \
     286                $(PATH_STAGE_BIN)/additions/src/% \
     287                $(wildcard $(PATH_STAGE_BIN)/additions/src/%*) \
     288                $(wildcard $(PATH_STAGE_BIN)/additions/src/%*/*) \
     289                $(wildcard $(PATH_STAGE_BIN)/additions/src/%*/*/*) \
     290                $(wildcard $(PATH_STAGE_BIN)/additions/src/%*/*/*/*) \
     291                $(wildcard $(PATH_STAGE_BIN)/additions/src/%*/*/*/*/*) \
     292                $(VBOX_VERSION_STAMP) \
     293                | $$(dir $$(patsubst $$(PERCENT)/,$$(PERCENT),$$@))
     294        $(call MSG_INST_DIR,$<,$@)
     295        $(QUIET)$(RM) -Rf $(filter-out $(VBOX_LNX_ADD_INST_KMOD_DIR_MOD),$(wildcard $(VBOX_LNX_ADD_INST_KMOD_DIR)*/))
     296        $(QUIET)$(CP) -RPf -- $< $@
     297
     298$(addprefix $(VBOX_LNX_ADD_INST_KMOD_DIR),$(VBOX_LNX_ADD_KMOD_FILES)): \
    285299                $(VBOX_LNX_ADD_INST_KMOD_DIR_MOD)% : \
    286300                $(PATH_STAGE_BIN)/additions/src/% \
    287301                | $$(dir $$(patsubst $$(PERCENT)/,$$(PERCENT),$$@))
    288         $(call MSG_INST_DIR,$<,$@)
    289         $(QUIET)$(RM) -Rf $@
     302        $(call MSG_INST_FILE,$<,$@)
    290303        $(QUIET)$(CP) -RPf -- $< $@
    291304
     
    377390# this file needs editing before it can be included in the generic installer.
    378391$(VBOX_LNX_ADD_INST_STAGE_DIR)install.sh: \
    379                 $(VBOX_PATH_LNX_INST_SRC)run-inst.sh | $$(dir $$@)
     392                $(VBOX_PATH_LNX_INST_SRC)run-inst.sh \
     393                $(VBOX_VERSION_STAMP) | $$(dir $$@)
    380394        $(RM) -f -- $@
    381395        $(QUIET)$(SED) \
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