VirtualBox

Changeset 2518 in kBuild


Ignore:
Timestamp:
Jul 26, 2011 12:08:37 PM (13 years ago)
Author:
bird
Message:

footer.kmk: Bugfixes to the previous changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r2517 r2518  
    15701570 endif
    15711571 ifneq ($(root $(stage)),)
    1572   $(error kBuild: The INST property should not start with a root specification)
     1572  $(error kBuild: The effective INST property of install '$(target)' should not start with a root specification)
    15731573 endif
    15741574 $(target)_1_INST := $(inst)
     
    30403040local srcdst    := $(word $(words $(srcdst)),$(srcdst))
    30413041
    3042 # instfun, mode, uid and gid
     3042# instfun, mode, uid and gid.
    30433043ifdef $(srcsrc)_INSTFUN
    30443044 local instfun := $(srcsrc)_INSTFUN
     
    31393139 local stagedst  := $(call $(instfun),$(srcdst),$(target),$(stage),$(PATH_STAGE))
    31403140else
    3141  local stage     := $(abspath $(stage))
     3141 local stage     := $(abspath $(stage))/
    31423142 ifeq ($(pos $(PATH_OBJ),$(stage)),1)
    3143   local stage    := $(substr $(stage), 1, $(length-var PATH_OBJ))
     3143  local stage    := $(substr $(stage), $(expr $(length-var PATH_OBJ) + 2))
    31443144  local stagedst := $(call $(instfun),$(srcdst),$(target),$(stage),$(PATH_OBJ))
    31453145 else
     
    32433243 local stagedst  := $(call $(instfun),$(symlnk),$(target),$(stage),$(PATH_STAGE))
    32443244else
    3245  local stage     := $(abspath $(stage))
     3245 local stage     := $(abspath $(stage))/
    32463246 ifeq ($(pos $(PATH_OBJ),$(stage)),1)
    3247   local stage    := $(substr $(stage), 1, $(length-var PATH_OBJ))
     3247  local stage    := $(substr $(stage), $(expr $(length-var PATH_OBJ) + 2))
    32483248  local stagedst := $(call $(instfun),$(symlnk),$(target),$(stage),$(PATH_OBJ))
    32493249 else
     
    33433343 local insdst  := $(PATH_STAGE)/$(stage)$(directory)/
    33443344else
    3345  local stage   := $(abspath $(stage))
     3345 local stage   := $(abspath $(stage))/
    33463346 ifeq ($(pos $(PATH_OBJ),$(stage)),1)
    33473347  local insdst := $(stage)$(directory)/
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