Instead of hardcoding the genimage.cfg path, let's add a BOARD_DIR variable to improve readability. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com> [Thomas: simplify exit logic of post-image script.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>