WORKSPACE_DIR := $(shell pwd)/workspace shell: .build docker run -it --rm -v $(WORKSPACE_DIR):/home/trimui/workspace trimui-toolchain /bin/bash .PHONY: shell .build: Dockerfile defconfig *.patch docker build -t trimui-toolchain . touch .build .PHONY: clean clean: docker rmi trimui-toolchain rm .build