The genimage.sh script calls genimage with a board-specific configuration file. This guarantees that every make produces a bit-for-bit identical sdcard.img (assuming all inputs are identical).
Here are some key points about genimage: genimage
The GenImage app offers a robust set of features designed for a wide range of creative tasks: The genimage