star-build

Automation tool for project installation
git clone git://git.meso-star.fr/star-build.git
Log | Files | Refs | README | LICENSE

commit b6829d542b05342a04b471086c24dd6fea458bd3
parent 7d214fed5c9be31aa0cf73e95b54eb2386e36cca
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Tue, 25 Jul 2023 12:48:40 +0200

Add missing variable definitions in Star-MC and Star-SP scripts

Diffstat:
Msrc/star-mc.sh | 5++++-
Msrc/star-sp.sh | 5++++-
2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/star-mc.sh b/src/star-mc.sh @@ -22,9 +22,12 @@ export STAR_MC_SH=1 . "rsys.sh" . "star-sp.sh" +[ -z "${BUILD_TYPE}" ] && BUILD_TYPE="RELEASE" +[ -z "${LIB_TYPE}" ] && LIB_TYPE="SHARED" + name="star-mc" url="$\(REPO\)/star-mc.git" tag="origin/feature_posix_make" dep="star-sp rsys" -opt="BUILD_TYPE=${BUILD_TYPE}" +opt="BUILD_TYPE=${BUILD_TYPE} LIB_TYPE=${LIB_TYPE}" git_repo diff --git a/src/star-sp.sh b/src/star-sp.sh @@ -22,9 +22,12 @@ export STAR_SP_SH=1 . "random123_1.14.0.sh" . "rsys.sh" +[ -z "${BUILD_TYPE}" ] && BUILD_TYPE="RELEASE" +[ -z "${LIB_TYPE}" ] && LIB_TYPE="SHARED" + name="star-sp" url="$\(REPO\)/star-sp.git" tag="origin/feature_posix_make" dep="random123 rsys" -opt="BUILD_TYPE=${BUILD_TYPE}" +opt="BUILD_TYPE=${BUILD_TYPE} LIB_TYPE=${LIB_TYPE}" git_repo