VirtualBox

Changeset 68805 in vbox for trunk/Makefile.kmk


Ignore:
Timestamp:
Sep 20, 2017 1:31:20 PM (7 years ago)
Author:
vboxsync
Message:

Makefile.kmk: Use mv/cp/rm sequence to lose the timestamp (expensive, but there's no other kmk tool able to do this yet).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.kmk

    r68790 r68805  
    286286        $(call MSG_L1,Unpacking additions archive)
    287287        $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(PATH_TARGET)
    288         $(APPEND) -n $(PATH_TARGET)/VBoxGuestAdditions.iso
     288        ## @todo r=klaus replace mv/cp/rm sequence by touch or some equivalent to lose the timestamp
     289        $(MV) $(PATH_TARGET)/VBoxGuestAdditions.iso $(PATH_TARGET)/VBoxGuestAdditions.iso.tmp
     290        $(CP) $(PATH_TARGET)/VBoxGuestAdditions.iso.tmp $(PATH_TARGET)/VBoxGuestAdditions.iso
     291        $(RM) -f $(PATH_TARGET)/VBoxGuestAdditions.iso.tmp
    289292        $(APPEND) -t $@ "done"
    290293
     
    322325        $(call MSG_L1,Unpacking documentation)
    323326        $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(PATH_TARGET)
    324         $(APPEND) -n $(PATH_TARGET)/VirtualBox.chm
    325         $(APPEND) -n $(PATH_TARGET)/UserManual.pdf
    326         for i in $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_TARGET)/VirtualBox_$(f).chm $(PATH_TARGET)/UserManual_$(f).pdf); do $(APPEND) -n $$i; done
     327        ## @todo r=klaus replace mv/cp/rm sequence by touch or some equivalent to lose the timestamp
     328        $(MV) $(PATH_TARGET)/VirtualBox.chm $(PATH_TARGET)/VirtualBox.chm.tmp
     329        $(CP) $(PATH_TARGET)/VirtualBox.chm.tmp $(PATH_TARGET)/VirtualBox.chm
     330        $(RM) -f $(PATH_TARGET)/VirtualBox.chm.tmp
     331        $(MV) $(PATH_TARGET)/UserManual.pdf $(PATH_TARGET)/UserManual.pdf.tmp
     332        $(CP) $(PATH_TARGET)/UserManual.pdf.tmp $(PATH_TARGET)/UserManual.pdf
     333        $(RM) -f $(PATH_TARGET)/UserManual.pdf.tmp
     334        for i in $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_TARGET)/VirtualBox_$(f).chm $(PATH_TARGET)/UserManual_$(f).pdf); do $(MV_EXT) $$i $$i.tmp; $(CP_EXT) $$i.tmp $$i; $(RM_EXT) -f $$i.tmp; done
    327335        $(APPEND) -t $@ "done"
    328336
     
    383391                $(foreach mod,$(VBOX_EFI_MODULES_FLAT) \
    384392                ,$(NLTAB) $(QUIET)$(TEST) '!' -f $(dir $@)/$(arch)/$(mod).pdb -- $(APPEND_EXT) $(dir $@)/$(arch)/$(mod).pdb ))
    385         $(APPEND) -n $(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd
    386         $(APPEND) -n $(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd
     393        ## @todo r=klaus replace mv/cp/rm sequence by touch or some equivalent to lose the timestamp
     394        $(MV) $(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd $(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd.tmp
     395        $(CP) $(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd.tmp $(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd
     396        $(RM) -f $(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd.tmp
     397        $(MV) $(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd $(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd.tmp
     398        $(CP) $(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd.tmp $(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd
     399        $(RM) -f $(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd.tmp
    387400        $(APPEND) -t $@ "done"
    388401
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