From 4ad5efd6071cefe6cc813d5d6b38869b54a44eaf Mon Sep 17 00:00:00 2001 From: neonloop Date: Sat, 6 Mar 2021 16:38:07 +0000 Subject: Stops extracting rootfs and puts extra files in the sysroot trimui rootfs only contains .so files, not that helpful for development. The script is still useful, so it moves to utils. Extra libs and headers can now be put into `./extras` and are moved into `sysroot/usr` during the build process. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6b1e355..c15fc2b 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,12 @@ WORKSPACE_DIR := $(shell pwd)/workspace CONFIG_FILES := $(shell find trimui_config -type f) +EXTRA_FILES := $(shell find extras -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) +.build: Dockerfile *.patch $(CONFIG_FILES) $(EXTRA_FILES) docker build -t trimui-toolchain . touch .build -- cgit v1.2.3