blob: f5481d4540c40ad74ce5bd5bb805f345ff7e273c [file] [log] [blame]
define or1
$(or , \
,,)
endef
define or2
$(or ,,, \
)
endef
define or3
$(or , , ,)
endef
define var
A\
B
endef
define var2
A\
\
B
endef
define var3
A\
B
endef
test:
echo $(if $(call or1),FAIL,PASS)_or1
echo $(if $(call or2),FAIL,PASS)_or2
echo $(if $(call or3),FAIL,PASS)_or3
$(info $(var))
$(info $(var2))
$(info $(var3))