SummerCart64/sw/bootloader/build.sh
Polprzewodnikowy 0992680dd7 good
2021-08-18 13:54:07 +02:00

11 lines
327 B
Bash
Executable File

#!/bin/bash
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"
}
build_in_docker "anacierdem/libdragon:6.0.2" "Makefile"