VirtualBox

Changeset 5950 in vbox for trunk


Ignore:
Timestamp:
Dec 4, 2007 11:17:35 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
26505
Message:

Removed the osolete bits (kBuild 0.1.2). Fixed bug in svn detection (new part).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r5949 r5950  
    10961096# @param    1   The inf file to edit.
    10971097# @param    2   The output file.
    1098 ifdef KMK_NEW_SED
    10991098VBOX_EDIT_INF32_FN = $(SED) $(if $(VBOX_SIGNING_MODE),-e 's/^;cat  *//', -e '/^;cat /d') -e 's/^;x86  *//' -e '/^;amd64 /d' --output $(2) $(1)
    1100 else
    1101 VBOX_EDIT_INF32_FN = $(SED) $(if $(VBOX_SIGNING_MODE),-e 's/^;cat  *//', -e '/^;cat /d') -e 's/^;x86  *//' -e '/^;amd64 /d' $(1) > $(2)
    1102 endif
    11031099## Edit an inf file an x86 target.
    11041100# @param    1   The inf file to edit.
    11051101# @param    2   The output file.
    1106 ifdef KMK_NEW_SED
    11071102VBOX_EDIT_INF64_FN = $(SED) $(if $(VBOX_SIGNING_MODE),-e 's/^;cat  *//', -e '/^;cat /d') -e 's/^;amd64  *//' -e '/^;x86 /d' --output $(2) $(1)
    1108 else
    1109 VBOX_EDIT_INF64_FN = $(SED) $(if $(VBOX_SIGNING_MODE),-e 's/^;cat  *//', -e '/^;cat /d') -e 's/^;amd64  *//' -e '/^;x86 /d' $(1) > $(2)
    1110 endif
    11111103
    11121104#
     
    26842676 VBOX_SVN_REV_FALLBACK := $(patsubst %:,,  $Rev$  )
    26852677 VBOX_SVN_DEP          := $(wildcard $(PATH_ROOT)/.svn/entries)
    2686 ifeq ($(KBUILD_VERSION_PATCH),2) ## tmp, remove later.
    2687  ifeq ($(which (SVN)),)
     2678 ifeq ($(which $(SVN)),)
    26882679  VBOX_SVN_DEP         :=
    26892680 endif
     
    27032694        $(QUIET)$(CP) --changed -fv $@ $(VBOX_SVN_REV_KMK)
    27042695
    2705 else ## tmp, remove later.
    2706  ifneq ($(USERNAME),bird) # Wastes nearly half a second on windows, very annoying. TODO: $(which ).
    2707   ifneq ($(shell $(SVN) --version > /dev/null 2>&1 || echo 'svn not installed'),)
    2708    VBOX_SVN_DEP         :=
    2709   endif
    2710  endif
    2711 
    2712 # Rule for generating a timestamp and updating the real thing on change.
    2713  ifneq ($(VBOX_SVN_DEP),)
    2714 $(VBOX_SVN_REV_KMK).ts: $(VBOX_SVN_DEP)
    2715  else
    2716 $(VBOX_SVN_REV_KMK).ts: $(PATH_ROOT)/Config.kmk
    2717  endif
    2718         $(call MSG_GENERATE,,$(VBOX_SVN_REV_KMK))
    2719         $(QUIET)$(RM) -f $@
    2720         $(QUIET)$(MKDIR) -p $(@D)
    2721  ifneq ($(VBOX_SVN_DEP),)
    2722 #       $(QUIET)$(APPEND) $@ 'export VBOX_SVN_REV=$(shell LC_ALL=C $(SVN) info $(PATH_ROOT) | $(SED) -e '/^Last Changed Rev/!d'  -e "s/Last Changed Rev\: *//")'
    2723         $(QUIET)$(APPEND) $@ 'export VBOX_SVN_REV=$(shell LC_ALL=C $(SVN) info $(PATH_ROOT) | $(SED) -e '/^Revision/!d'  -e "s/Revision\: *//")'
    2724  else
    2725         $(QUIET)$(APPEND) $@ 'export VBOX_SVN_REV=$(VBOX_SVN_REV_FALLBACK)'
    2726  endif
    2727         $(QUIET)if test ! -f $(VBOX_SVN_REV_KMK) \
    2728         || test ! "`$(CAT_EXT) $@`" = "`$(CAT_EXT) $(VBOX_SVN_REV_KMK)`"; \
    2729         then \
    2730                 $(RM_EXT) -f $(VBOX_SVN_REV_KMK); \
    2731                 $(CP_EXT) -f $@ $(VBOX_SVN_REV_KMK) || exit 1; \
    2732                 echo '* $(VBOX_SVN_REV_KMK) was updated:'; \
    2733         else \
    2734                 echo '* $(VBOX_SVN_REV_KMK) was not changed:'; \
    2735         fi
    2736         $(QUIET)$(CAT) $(VBOX_SVN_REV_KMK)
    2737 
    2738 $(VBOX_SVN_REV_KMK): $(VBOX_SVN_REV_KMK).ts # remove when kBuild is updated.
    2739 endif ## tmp, remove later
    2740 
    27412696 include $(VBOX_SVN_REV_KMK)
    27422697else
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