commit 14c18f1159519668b46c1ee596fc6078e898b844
parent 6cfd341c3e8ebe4c60ca90304e09d07d1c210a5a
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 6 Sep 2023 09:57:02 +0200
Add the build script of the htcp library
Diffstat:
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/lint.mk b/lint.mk
@@ -19,6 +19,7 @@ lint:
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
+ shellcheck -o all -x -P src src/htcp.sh
shellcheck -o all -x -P src src/mrumtl.sh
shellcheck -o all -x -P src src/noweb_2.13rc3.sh
shellcheck -o all -x -P src src/polygon.sh
diff --git a/src/htcp.sh b/src/htcp.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 "${HTCP_SH}" ] && return
+export HTCP_SH=1
+
+. "build.sh"
+. "rsys.sh"
+
+name="htcp"
+url="$\(REPO\)/htcp.git"
+tag="origin/feature_posix_make"
+dep="rsys"
+opt="BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)"
+git_repo