image: use check-size from new image build code
authorMathias Kresin <dev@kresin.me>
Tue, 13 Sep 2016 05:18:10 +0000 (07:18 +0200)
committerMathias Kresin <dev@kresin.me>
Tue, 13 Sep 2016 17:36:41 +0000 (19:36 +0200)
commit14b40d61e13ce0408d5ed9dff2ad3a18ab0c2471
treedf0df3d52ae8eb2fb8c2c792c3edcc3d674c18c4
parent1cd0a4c688f02918cb96ff7f5f21cddc281d4f2c
image: use check-size from new image build code

Use the new image build code and deduplicate the code.

Signed-off-by: Mathias Kresin <dev@kresin.me>
include/image.mk