commit 5cb92cd525d4d756daa5fc8520bdfa40e1116344
parent b66651e536c5eb5784dbf980573aca940702948e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 15 Sep 2023 12:17:47 +0200
Add the build script of the rnsf library
Diffstat:
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/lint.mk b/lint.mk
@@ -28,6 +28,7 @@ lint:
shellcheck -o all -x -P src src/polygon.sh
shellcheck -o all -x -P src src/prereq.sh
shellcheck -o all -x -P src src/random123_1.14.0.sh
+ shellcheck -o all -x -P src src/rnsf.sh
shellcheck -o all -x -P src src/rnsl.sh
shellcheck -o all -x -P src src/rsimd.sh
shellcheck -o all -x -P src src/rsys.sh
diff --git a/src/rnsf.sh b/src/rnsf.sh
@@ -0,0 +1,29 @@
+#!/bin/sh -e
+
+# Copyright (C) 2023 |Méso|Star> (contact@meso-star.com)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+[ -n "${RNSF_SH}" ] && return
+export RNSF_SH=1
+
+. "build.sh"
+. "rsys.sh"
+
+name="rnsf"
+url="$\(REPO\)/rnsf.git"
+tag="origin/feature_posix_make"
+dep="rsys"
+opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)"
+git_repo