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: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent 727a68b commit be4cd40e8b91cb7f90109fb254c5540d57b12b0a
@Masahiro Yamada Masahiro Yamada authored on 23 May 2017
Showing 1 changed file
View
make_helpers/build_macros.mk