aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 6b1e35531fc5352fcb044cb30bbadefa678d355d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
WORKSPACE_DIR := $(shell pwd)/workspace
CONFIG_FILES := $(shell find trimui_config -type f)

shell: .build
	docker run -it --rm -v $(WORKSPACE_DIR):/home/trimui/workspace trimui-toolchain /bin/bash
.PHONY: shell

.build: Dockerfile extract_rootfs.sh *.patch $(CONFIG_FILES)
	docker build -t trimui-toolchain .
	touch .build

.PHONY: clean
clean:
	docker rmi trimui-toolchain
	rm .build