xref: /DragonOS/user/port/build.sh (revision 7a29d4fcbcd89a226289c7bf541c2c78623de3ad)
1source pkg-config.sh
2path=(
3    gmp/6.2.1
4    mpfr/4.1.1
5    mpc/1.2.1
6    flex/2.6.4
7)
8
9current_path=$(pwd)
10
11for i in ${path[@]}; do
12    echo "Building $i"
13    cd $i
14    ./build.sh || exit 1
15    cd $current_path
16done
17cd $current_path