Changeset 2518 in kBuild
- Timestamp:
- Jul 26, 2011 12:08:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r2517 r2518 1570 1570 endif 1571 1571 ifneq ($(root $(stage)),) 1572 $(error kBuild: The INST propertyshould not start with a root specification)1572 $(error kBuild: The effective INST property of install '$(target)' should not start with a root specification) 1573 1573 endif 1574 1574 $(target)_1_INST := $(inst) … … 3040 3040 local srcdst := $(word $(words $(srcdst)),$(srcdst)) 3041 3041 3042 # instfun, mode, uid and gid 3042 # instfun, mode, uid and gid. 3043 3043 ifdef $(srcsrc)_INSTFUN 3044 3044 local instfun := $(srcsrc)_INSTFUN … … 3139 3139 local stagedst := $(call $(instfun),$(srcdst),$(target),$(stage),$(PATH_STAGE)) 3140 3140 else 3141 local stage := $(abspath $(stage)) 3141 local stage := $(abspath $(stage))/ 3142 3142 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)) 3144 3144 local stagedst := $(call $(instfun),$(srcdst),$(target),$(stage),$(PATH_OBJ)) 3145 3145 else … … 3243 3243 local stagedst := $(call $(instfun),$(symlnk),$(target),$(stage),$(PATH_STAGE)) 3244 3244 else 3245 local stage := $(abspath $(stage)) 3245 local stage := $(abspath $(stage))/ 3246 3246 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)) 3248 3248 local stagedst := $(call $(instfun),$(symlnk),$(target),$(stage),$(PATH_OBJ)) 3249 3249 else … … 3343 3343 local insdst := $(PATH_STAGE)/$(stage)$(directory)/ 3344 3344 else 3345 local stage := $(abspath $(stage)) 3345 local stage := $(abspath $(stage))/ 3346 3346 ifeq ($(pos $(PATH_OBJ),$(stage)),1) 3347 3347 local insdst := $(stage)$(directory)/
Note:
See TracChangeset
for help on using the changeset viewer.