Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit be4cd40e authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

Build: fix assert_boolean implementation


The current assert_boolean does not work with variables assigned with
'=' flavor instead of ':='.

For example,

 FOO = $(BAR)
 BAR := 1

Here, $(value FOO) is evaluated to $(BAR), not 1.  This is not what
we expect.  While I am here, I simplified the implementation.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 727a68b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment