Add version and toolchain to img filename (#18)

* add version and toolchain to img filename
---------

Co-authored-by: Apaczer <94932128+Apaczer@users.noreply.github.com>
This commit is contained in:
tiopex
2023-03-27 09:08:23 +02:00
committed by GitHub
parent a9bd72ce78
commit 8bd4a5d2e2
5 changed files with 8 additions and 8 deletions

View File

@@ -34,7 +34,7 @@ image mainfs.vfat {
}
image miyoo-cfw-2.0.0.img {
image ${IMAGE_NAME:-miyoo-cfw-2.0.0.img} {
hdimage {}
partition u-boot {

View File

@@ -1,9 +1,9 @@
#!/bin/bash
set -e
export IMAGE_NAME=${2}
STARTDIR=`pwd`
SELFDIR=`dirname \`realpath ${0}\``
cp -r board/miyoo/boot "${BINARIES_DIR}"
cp -r board/miyoo/main "${BINARIES_DIR}"
support/scripts/genimage.sh ${1} -c board/miyoo/genimage-sdcard.cfg