Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
build
/
kati
/
59ce30d7b247cfc41950e2cc5438a1bff66bdc1f
/
.
/
testcase
/
strip.mk
blob: 44df67239c38848e9e3737607ec4df7b0321331b [
file
] [
log
] [
blame
]
XY
:=
x y
X
:=
$
(
subst y
,
,
$
(
XY
))
Y
:=
$
(
subst x
,
,
$
(
XY
))
define func
foo
bar
endef
test
:
echo $
(
X
)
echo $
(
Y
)
echo $
(
strip $
(
X
))
echo $
(
strip $
(
Y
))
echo $
(
strip $
(
Y
),
$
(
X
))
echo $
(
strip $
(
XY
))
$
(
info $
(
strip $
(
call func
)))
test2
:
echo $
(
strip $
(
X
),
$
(
Y
))