diff options
author | neonloop | 2021-03-06 16:38:07 +0000 |
---|---|---|
committer | neonloop | 2021-03-06 16:50:11 +0000 |
commit | 4ad5efd6071cefe6cc813d5d6b38869b54a44eaf (patch) | |
tree | b81585e8a40fe4d01fa20c25064e73748e17cb97 /Dockerfile | |
parent | 9428d4c280242235a952cbeb985f9af79f6306fe (diff) | |
download | trimui-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 'Dockerfile')
-rw-r--r-- | Dockerfile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -63,11 +63,12 @@ COPY *.patch . RUN for patch in *.patch; do patch -p0 < $patch; done RUN make + WORKDIR /home/trimui -COPY extract_rootfs.sh . -RUN ./extract_rootfs.sh -RUN mkdir -p $BUILDROOT_SYSROOT/usr && cp -R trimui_rootfs/usr/trimui $BUILDROOT_SYSROOT/usr/trimui +COPY extras extras + +RUN rsync -av extras/* $BUILDROOT_SYSROOT/usr/ VOLUME /home/trimui/workspace WORKDIR /home/trimui/workspace |