bcm27xx: improve image generation script
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 30 Jan 2024 19:12:25 +0000 (20:12 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 1 Feb 2024 08:58:17 +0000 (09:58 +0100)
commit96b03ff2476edb4d08fb4b91fdf80be7aa95ddd8
tree6cc6aea3f3a72b266a883a542bebf737e31ac2f0
parenta39176010299f3ad7d325b03d892fbf65e6dd23b
bcm27xx: improve image generation script

- Exit immediately on a non-zero status.
- Remove empty lines.
- Remove unused variables.
- Add missing ptgen variables for readability.
- Refactor SYNTAX if block.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bcm27xx/image/gen_rpi_sdcard_img.sh