diff options
| author | Kacper Sagalara <mail@kasesag.me> | 2026-06-19 19:08:11 +0200 |
|---|---|---|
| committer | Kacper Sagalara <mail@kasesag.me> | 2026-06-19 19:08:11 +0200 |
| commit | 7821c02171d77229797e3a57edd0502e942373cc (patch) | |
| tree | 2856fdb7f36144c6e539cfedacd475bf10458ce1 /Makefile | |
| parent | 0339c6b9e1cafffc2e37c47df4277157fc678041 (diff) | |
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 |
