blob: 4ea1afbabec940ff7ad80f66cbe3273abfc233a7 [file] [log] [blame]
Jan Kundrátfa75efa2017-04-07 20:32:38 +02001#!/bin/sh
2
3BOARD_DIR="$(dirname $0)"
4GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
5GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
6
7rm -rf "${GENIMAGE_TMP}"
8
9cp $HOST_DIR/usr/lib/grub/i386-pc/boot.img $BINARIES_DIR
10
11genimage \
12 --rootpath "${TARGET_DIR}" \
13 --tmppath "${GENIMAGE_TMP}" \
14 --inputpath "${BINARIES_DIR}" \
15 --outputpath "${BINARIES_DIR}" \
16 --config "${GENIMAGE_CFG}"
17
18exit $?
19