commit ee569c0117239a0142d204c6dc8bd94fe05394c3
parent e3a80ed94974da5e502bfb8d0a443700c6a47b52
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 31 Aug 2023 09:17:57 +0200
Add the build script of the atrtp library
Diffstat:
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/lint.mk b/lint.mk
@@ -15,6 +15,7 @@
lint:
shellcheck -o all -x -P src src/atrri.sh
+ shellcheck -o all -x -P src src/atrtp.sh
shellcheck -o all -x -P src src/aw.sh
shellcheck -o all -x -P src src/build.sh
shellcheck -o all -x -P src src/embree_4.0.1.sh
diff --git a/src/atrtp.sh b/src/atrtp.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 "${ATRTP_SH}" ] && return
+export ATRTP_SH=1
+
+. "build.sh"
+. "rsys.sh"
+
+name="atrtp"
+url="$\(REPO\)/atrtp.git"
+tag="origin/feature_posix_make"
+dep="rsys"
+opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)"
+git_repo