VirtualBox

Changeset 2095 in kBuild


Ignore:
Timestamp:
Nov 20, 2008 2:14:39 AM (16 years ago)
Author:
bird
Message:

footer.kmk: Use $(file-size file) instead of involving $(shell ) to check if a file exist.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r2094 r2095  
    19171917$(out): $(comp-vars _TARGET_$(target)_DIGEST_PREV,_TARGET_$(target)_DIGEST,FORCE) | $(call DIRDEP,$(inst))
    19181918        $$(QUIET)$$(RM) -f -- $$@
    1919         %$$(if $$(_TARGET_$(target)_DIGEST),$$(if $$(shell $$(TEST_EXT) -f $(out).lst -- $$(ECHO_EXT) file-exist)\
     1919        %$$(if $$(_TARGET_$(target)_DIGEST),$$(if $$(eq $$(file-size $(out).lst),-1)\
    19201920                ,$$(call MSG_REFETCH,$(target)),$$(call MSG_FETCH,$(target))),$$(call MSG_UNFETCH,$(target)))
    19211921        $$(QUIET)$(TEST_EXT) -f $(out).lst -- $$(MAKE) -f $(MAKEFILE) --no-print-directory $(out)_unfetched
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