VirtualBox

Changeset 66026 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Mar 10, 2017 11:43:38 AM (8 years ago)
Author:
vboxsync
Message:

add/linux/Makefile.kmk: cleanups (untested)

File:
1 edited

Legend:

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

    r66025 r66026  
    3434ifdef VBOX_WITH_TESTCASES
    3535 ifndef VBOX_ONLY_SDK
    36   VBOX_LNX_ADD_TEST=$(PATH_TARGET)/tstguest_mod
    37   VBOX_LNX_ADD_TEST_TARGET=$(PATH_TARGET)/tstguest_mod.run
    38   VBOX_LNX_ADD_SOURCES=$(vboxguest-src_2_INST_TARGETS) $(vboxsf-mod_2_INST_TARGETS) $(vboxvideo_drm-mod_2_INST_TARGETS)
    39   TESTING += $(VBOX_LNX_ADD_TEST_TARGET)
    40   OTHERS += $(VBOX_LNX_ADD_TEST_TARGET)
     36  VBOX_LNX_ADD_TEST        = $(PATH_TARGET)/tstguest_mod
     37  VBOX_LNX_ADD_TEST_TARGET = $(PATH_TARGET)/tstguest_mod.run
     38  TESTING     += $(VBOX_LNX_ADD_TEST_TARGET)
     39  OTHERS      += $(VBOX_LNX_ADD_TEST_TARGET)
    4140  OTHER_CLEAN += $(VBOX_LNX_ADD_TEST)
    42 $$(VBOX_LNX_ADD_TEST_TARGET): $$(VBOX_LNX_ADD_SOURCES)
     41 $$(VBOX_LNX_ADD_TEST_TARGET): $$(vboxguest-src_2_INST_TARGETS) $$(vboxsf-mod_2_INST_TARGETS) $$(vboxvideo_drm-mod_2_INST_TARGETS)
    4342        $(QUIET)$(call MSG_L1,Doing a test build of the guest kernel modules)
    44         $(QUIET)$(ASH) -c "rm -f $@"
    45         $(QUIET)$(ASH) -c "mkdir -p $(VBOX_LNX_ADD_TEST) && cp -r $(PATH_STAGE_BIN)/additions/src/* $(VBOX_LNX_ADD_TEST)"
    46         $(QUIET)$(ASH) -c "cd $(VBOX_LNX_ADD_TEST) && make"
     43        $(QUIET)$(RM) -f -- "$@"
     44        $(QUIET)$(MKDIR) -p -- "$(VBOX_LNX_ADD_TEST)"
     45        $(QUIET)$(CP) -R --changed -- $(PATH_STAGE_BIN)/additions/src/* "$(VBOX_LNX_ADD_TEST)"
     46        + $(QUIET)make -C $(VBOX_LNX_ADD_TEST)
    4747        $(QUIET)$(APPEND) -t "$@" "done"
    4848 endif
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