forked from openkylin/platform_build
am 0cd997ff: am 8af0efd6: Improve handling of absolute paths in out directory
* commit '0cd997ff31852af80eab4f3d0c2db8d1a1328085': Improve handling of absolute paths in out directory
This commit is contained in:
commit
c401b4438c
|
@ -48,7 +48,11 @@ ifdef dumpvar_goals
|
|||
absolute_dumpvar := $(strip $(filter abs-%,$(dumpvar_goals)))
|
||||
ifdef absolute_dumpvar
|
||||
dumpvar_goals := $(patsubst abs-%,%,$(dumpvar_goals))
|
||||
DUMPVAR_VALUE := $(PWD)/$($(dumpvar_goals))
|
||||
ifneq ($(filter /%,$($(dumpvar_goals))),)
|
||||
DUMPVAR_VALUE := $($(dumpvar_goals))
|
||||
else
|
||||
DUMPVAR_VALUE := $(PWD)/$($(dumpvar_goals))
|
||||
endif
|
||||
dumpvar_target := dumpvar-abs-$(dumpvar_goals)
|
||||
else
|
||||
DUMPVAR_VALUE := $($(dumpvar_goals))
|
||||
|
|
Loading…
Reference in New Issue