![Gary Bisson](/assets/img/avatar_default.png)
It didn't make sense to keep the U-Boot scripts and post build/image scripts under the nitrogen6x folder since they apply for all our platforms. Also update the readme.txt to make it clearer which defconfig should be used depending on the platform targeted. Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
17 lines
356 B
Bash
Executable file
17 lines
356 B
Bash
Executable file
#!/bin/sh
|
|
|
|
BOARD_DIR="$(dirname $0)"
|
|
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
|
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
|
|
|
rm -rf "${GENIMAGE_TMP}"
|
|
|
|
genimage \
|
|
--rootpath "${TARGET_DIR}" \
|
|
--tmppath "${GENIMAGE_TMP}" \
|
|
--inputpath "${BINARIES_DIR}" \
|
|
--outputpath "${BINARIES_DIR}" \
|
|
--config "${GENIMAGE_CFG}"
|
|
|
|
exit $?
|