Changeset 2531 for trunk/kBuild/header.kmk
- Timestamp:
- Aug 2, 2011, 2:07:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/header.kmk
r2528 r2531 847 847 else 848 848 KB_FN_ASSIGN_DEPRECATED = $(eval $(subst :,$$(COLON),$1) = $2$$(warning $1 is deprecated, use $3 instead)) 849 endif 850 851 ## 852 # Throw an error if the given path $1 isn't absolute and assertions are enabled. 853 # 854 # @param $1 The name of the path variable to check. 855 # 856 ifdef KBUILD_INTERNAL_STRICT 857 KB_FN_ASSERT_ABSPATH = $(if-expr "$(abspath $($(strip $1)))" != "$(strip $($(strip $1)))",\ 858 $(error kBuild abspath assertion failed: target=$(target) $1=$($(strip $1)))) 859 else 860 KB_FN_ASSERT_ABSPATH := 849 861 endif 850 862
Note:
See TracChangeset
for help on using the changeset viewer.