build: store default/device packages in JSON
authorPaul Spooren <mail@aparcar.org>
Tue, 30 Jun 2020 11:02:43 +0000 (01:02 -1000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 13 Jul 2020 20:24:30 +0000 (21:24 +0100)
commite3618eb2cc210763fe1b309fd7e337fdf8a98f0b
tree694199e59cbc42c63a92421d8947840222497534
parent3dbd74d03295f9fc357a88fa2160c75119908bfd
build: store default/device packages in JSON

With this commit the `profiles.json` contain both the target specific
`default_packages` as well as the device specific `device_packages` as a
array of strings.

This information is required for downstream projects like the various
web-based interactive firmware generators.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 263f7e5bbd119ebed1f514c16f659a2e2a2b132c)
include/image.mk
scripts/json_add_image_info.py
scripts/json_overview_image_info.py