StupidOS/releasetools/floppyimage.sh

25 lines
326 B
Bash
Raw Normal View History

2024-05-28 04:54:10 +00:00
#!/usr/bin/env bash
set -e
2024-06-11 09:23:44 +00:00
if [ ! -f Makefile ]
2024-05-28 04:54:10 +00:00
then
exit 1
fi
. ./releasetools/image.defaults
. ./releasetools/image.functions
2024-06-11 09:23:44 +00:00
DESTDIR=${BUILDDIR}/floppy
export DESTDIR
2024-07-05 06:16:40 +00:00
mkdir -p "${BUILDDIR}" "${OBJ}"
mkdir -p "${DESTDIR}/boot"
create_stpdboot_ini "${DESTDIR}/boot"
make
echo ""
echo "floppy image at $(pwd)/${IMG}"