tce-load -i compiletc python3.8 https://github.com/ninja-build/ninja/archive/v1.10.0/ninja-1.10.0.tar.gz cd ninja-1.10.0 edit configure.py cflags = [ '-march=armv8-a+crc', '-mtune=cortex-a53', '-Wall', '-Wextra', python3.8 ./configure.py --bootstrap --verbose EXTNAM=ninja TMPDIR=/tmp/$EXTNAM install -Dm755 ninja $TMPDIR/usr/local/bin/ninja install -Dm644 misc/bash-completion $TMPDIR/usr/local/share/bash-completion/completions/ninja install -Dm644 misc/zsh-completion $TMPDIR/usr/local/share/zsh/site-functions/_ninja strip $TMPDIR/usr/local/bin/ninja ################################################### # Create base extension in temp dir # ################################################### cd $TMPDIR cd .. mksquashfs $TMPDIR $EXTNAM.tcz cd $TMPDIR find usr -not -type d > $EXTNAM.tcz.list mv ../$EXTNAM.tcz . # Create md5 file md5sum $EXTNAM.tcz > $EXTNAM.tcz.md5.txt # Cleanup temp directory rm -r -f usr