Makefile: run CONFIG_BOARD_SIZE_LIMIT against .img
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Fri, 11 Jan 2019 19:56:02 +0000 (20:56 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Jan 2019 20:28:53 +0000 (15:28 -0500)
commit45297e2ab2172470b0b04e1ae728a31ab7321601
tree150cc118eb9fa15a15973deaa8ace668a06b0755
parentc16b137e490308f5578dae9e7896a8798493c475
Makefile: run CONFIG_BOARD_SIZE_LIMIT against .img

With the current Makefile, CONFIG_BOARD_SIZE_LIMIT is used to check
the U-Boot binary without devicetree only. This produces wrong results
when OF_SEPARATE is used.

To fix this, run the CONFIG_BOARD_SIZE_LIMIT check on all .img binaries
as well.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Makefile