20 lines
264 B
Bash
Executable File
20 lines
264 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
source $(dirname $0)/env.sh
|
|
|
|
cd $LUNA_ROOT
|
|
|
|
tools/setup.sh
|
|
|
|
#tools/install-headers.sh
|
|
|
|
mkdir -p build
|
|
if [ "$USE_NINJA" = "1" ]
|
|
then
|
|
cmake -S . -B build -G Ninja
|
|
fi
|
|
cmake --build build
|
|
cmake --install build
|
|
|
|
mkbootimg luna.json Luna.iso |