aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorneonloop2021-03-06 16:38:07 +0000
committerneonloop2021-03-06 16:50:11 +0000
commit4ad5efd6071cefe6cc813d5d6b38869b54a44eaf (patch)
treeb81585e8a40fe4d01fa20c25064e73748e17cb97 /Makefile
parent9428d4c280242235a952cbeb985f9af79f6306fe (diff)
downloadtrimui-toolchain-4ad5efd6071cefe6cc813d5d6b38869b54a44eaf.tar.gz
trimui-toolchain-4ad5efd6071cefe6cc813d5d6b38869b54a44eaf.tar.bz2
trimui-toolchain-4ad5efd6071cefe6cc813d5d6b38869b54a44eaf.zip
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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