build: use genimage tool to create sd image

Signed-off-by: carbon <carbon@milkv.io>
This commit is contained in:
carbon
2024-06-15 20:23:16 +08:00
parent 1dcebfe13e
commit a7f4602e49
2 changed files with 20 additions and 0 deletions

View File

@ -265,6 +265,13 @@ function pack_burn_image
popd
)}
function pack_sd_image
{(
pushd "$BUILD_PATH"
make sd_image || return "$?"
popd
)}
function pack_prog_img
{(
local tmp_dir