diff options
author | David Bauer <mail@david-bauer.net> | 2021-02-24 21:38:15 +0100 |
---|---|---|
committer | Baptiste Jonglez <git@bitsofnetworks.org> | 2021-05-26 23:36:40 +0200 |
commit | bb8fd58a23d202ce115813468e9119a631507f86 (patch) | |
tree | 22670932e6c0ed9b4bd4bb5c7b4a3bf94dda3124 /scripts/mkhash.c | |
parent | 4419c3dcd3fbaa7b51239c90784af03af2c2c911 (diff) | |
download | upstream-bb8fd58a23d202ce115813468e9119a631507f86.tar.gz upstream-bb8fd58a23d202ce115813468e9119a631507f86.tar.bz2 upstream-bb8fd58a23d202ce115813468e9119a631507f86.zip |
build: avoid generating JSON info on missing image
Previously, build would fail for targets containing devices with not
initramfs image (such as mpc85xx-p1010). Only generate the JSON image
info for the initramfs image when we have one to avoid breaking the
builds.
Fixes commit d3140d052964 ("build/json: generate json file for initramfs")
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 512229ce4967814a09ce202855e6b632d2e97a3c)
Diffstat (limited to 'scripts/mkhash.c')
0 files changed, 0 insertions, 0 deletions