aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 678c804e5e8233f6cdb5d9a2e688ab99e44bd477 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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