mirror of https://github.com/probonopd/MiniDexed
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
676 B
43 lines
676 B
1 year ago
|
RPI ?= 4
|
||
|
|
||
|
.PHONY: all
|
||
|
all: clean build build-stub zip
|
||
|
|
||
|
.PHONY: build
|
||
|
build:
|
||
|
@mkdir -p build/kernels build/sdcard
|
||
|
@./scripts/build.sh
|
||
|
@cp ./src/kernel*.img ./build/kernels/
|
||
|
|
||
|
.PHONY: build-stub
|
||
|
build-stub:
|
||
|
@mkdir -p build/kernels build/sdcard
|
||
|
@./scripts/build-stub.sh
|
||
|
|
||
|
.PHONY: clean
|
||
|
clean:
|
||
|
@rm -rf build
|
||
|
|
||
|
.PHONY: get-sysex
|
||
|
get-sysex:
|
||
|
@mkdir -p build/sdcard && \
|
||
|
cd ./build/sdcard && \
|
||
|
../../scripts/get-sysex.sh && \
|
||
|
cd -
|
||
|
|
||
|
.PHONY: get-performances
|
||
|
get-performances:
|
||
|
@./scripts/get-performances.sh
|
||
|
|
||
|
.PHONY: install
|
||
|
install:
|
||
|
@echo "TODO(antoniae)"
|
||
|
|
||
|
.PHONY: install-toolchain
|
||
|
install-toolchain:
|
||
|
@./scripts/install-toolchain.sh
|
||
|
|
||
|
.PHONY: zip
|
||
|
zip:
|
||
|
@./scripts/zip.sh
|