Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
build
/
kati
/
de829713fdb9dc4dd4708dfa8e6c5e9839d2cb09
/
.
/
test
/
subst.mk
blob: a20e447255e28d9409b16ea49d3559b6a003ee3b [
file
] [
log
] [
blame
]
# http://www.gnu.org/software/make/manual/make.html#Syntax-of-Functions
comma
:=
,
empty
:=
space
:=
$
(
empty
)
$
(
empty
)
foo
:=
a b c
bar
:=
$
(
subst $
(
space
),
$
(
comma
),
$
(
foo
))
# bar is now `a,b,c'
test
:
echo $
(
bar
)