39 lines
641 B
Bash
Executable File
39 lines
641 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Copyright (C) KolibriOS-NG team 2024. All rights reserved
|
|
# Distributed under terms of the GNU General Public License
|
|
|
|
source scripts/start-recipe
|
|
|
|
ROOT_DIR="$PWD"
|
|
PATH=$PATH:"$SDK_TOOLCHAIN_DIR/bin"
|
|
|
|
declare -a DIRS=(
|
|
"toolchain/binutils"
|
|
"toolchain/gcc"
|
|
"libraries/kos-crt-stub"
|
|
)
|
|
|
|
BUILD()
|
|
{
|
|
for dir in "${DIRS[@]}" ; do
|
|
cd "$ROOT_DIR/$dir"
|
|
./kos-recipe.sh
|
|
done
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
:;
|
|
# "For root recipes, installation is performed in BUILD"
|
|
}
|
|
|
|
CLEAN()
|
|
{
|
|
for dir in "${DIRS[@]}" ; do
|
|
cd "$ROOT_DIR/$dir"
|
|
./kos-recipe.sh --clean
|
|
done
|
|
}
|
|
|
|
source scripts/end-recipe |