From 9ab73f47aedebd94eb4d353262a582d9fd3a8cec Mon Sep 17 00:00:00 2001 From: neonloop Date: Sun, 7 Mar 2021 14:47:57 +0000 Subject: Clear buildroot source after building This saves an enormous amount of disk space in the image. Since fewer packages are installed, there is a method for installing extra packages. This also adds a helper script for setting up common cross-compiling variables. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c15fc2b..fb073f4 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ shell: .build docker run -it --rm -v $(WORKSPACE_DIR):/home/trimui/workspace trimui-toolchain /bin/bash .PHONY: shell -.build: Dockerfile *.patch $(CONFIG_FILES) $(EXTRA_FILES) +.build: Dockerfile *.patch build_toolchain.sh env-setup.sh extra_packages.txt $(CONFIG_FILES) $(EXTRA_FILES) docker build -t trimui-toolchain . touch .build -- cgit v1.2.3