imagebuilder: Remove json_info_files/ before build
authorPaul Spooren <mail@aparcar.org>
Tue, 9 Jun 2020 04:15:05 +0000 (18:15 -1000)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 11 Jun 2020 10:12:56 +0000 (11:12 +0100)
commit941ec28b355ea690b5682d2bf8175aa513379997
tree63b4ec1f474ade260b0a8e104f0c41630d1be8e8
parent4f3806364011aa3aef26fcab2e7b71837a777bcc
imagebuilder: Remove json_info_files/ before build

The folder `json_info_files` contains multiple JSON files which describe
created firmware images. The folder is not removed between builds as the
ImageBuilder does not use `image.mk`.

Not removing the JSON files result in a merged `profiles.json` file
containing entries for outdated or non-existing images.

This commit adds the `json_info_files/` cleanup step to the ImageBuilder
Makefile.

Signed-off-by: Paul Spooren <mail@aparcar.org>
target/imagebuilder/files/Makefile