diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0eb36d7 --- /dev/null +++ b/Makefile @@ -0,0 +1,46 @@ +.PHONY: help + +define HEADER + ____ _ _ _ +| _ \ _ __(_) ___ __| | | __ _ _ __ ___ _ _ +| | | | '__| |/ _ \/ _` | | / _` | '_ ` _ \| | | | +| |_| | | | | __/ (_| | |__| (_| | | | | | | |_| | +|____/|_| |_|\___|\__,_|_____\__,_|_| |_| |_|\__,_| + +DriedLamu Firmware +https://kasesag.me/projects/driedlamu +https://git.firestarter.house/driedlamu.git +endef +export HEADER + +info: + @echo "$$HEADER" + @echo "" + @echo "Debloated firmware for G15/lamu Builder" + @echo "This project is a fork of DebloatedMotoWeed for G13." + @echo "Original source: https://github.com/moto-penangf/DebloatedMotoWeed" + @echo "" + @echo "Available options: info, clean, build, flash-fresh, flash-upgrade, config" +flash: + @echo "$$HEADER" + @echo "" + @echo "Available options: flash-fresh, flash-upgrade" +clean: + @echo "$$HEADER" + @echo "" + rm -rf ./unpacked && rm -rf /tmp/driedlamu && rm -rf ./super.img +build: + @echo "$$HEADER" + @echo "" + @FECTOOL_DIR=$(shell cd $(dir $(lastword $(MAKEFILE_LIST))) && pwd)/utils/bin/fectool \ + PATH=$$PATH:$$FECTOOL_DIR \ + ./stages/build.sh +flash-fresh: + @echo "" + ./stages/flash.sh fresh +flash-upgrade: + @echo "$$HEADER" + @echo "" + ./stages/flash.sh upgrade +config: + ./stages/config.sh |
