You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/bash -e
-
- install -m 755 patch/ninja.patch "${ROOTFS_DIR}/etc/"
-
- on_chroot << EOF
- cd "/tmp"
-
- if [ ! -d "ninja" ]; then
- git clone https://github.com/ninja-build/ninja.git
- cd ninja
- patch -u CMakeLists.txt -i /etc/ninja.patch
- mkdir -p build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make -j$(nproc) install
- ldconfig
- fi
- EOF
|