SummerCart64/sw/bootloader/build.sh

11 lines
327 B
Bash
Raw Normal View History

#!/bin/bash
2021-03-11 00:10:32 +01:00
build_in_docker() {
docker run -t \
--mount type=bind,src=`realpath $(pwd)`,target="/src" \
--mount type=bind,src=`realpath "$(pwd)/../libsc64"`,target="/src/libsc64" \
$1 /bin/bash -c "cd /src && make clean && make -f $2 all"
}
2021-02-09 23:58:02 +01:00
2021-08-18 13:54:07 +02:00
build_in_docker "anacierdem/libdragon:6.0.2" "Makefile"