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 09:48:27 +0000 (10:48 +0100)
commit9a869950c11e3701bee034b7ee398752be3bda22
tree7f094236b4ca1b444b40613b7a2f5fa7d21a9e79
parentc82ca6dc743f382533693de4826747ec0ee16ce9
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.

(cherry picked from commit 96b03ff2476edb4d08fb4b91fdf80be7aa95ddd8)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bcm27xx/image/gen_rpi_sdcard_img.sh