flatten 20260225
This commit is contained in:
26
resources/packages/elpasso/prepare
Executable file
26
resources/packages/elpasso/prepare
Executable file
@@ -0,0 +1,26 @@
|
||||
set -ex
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
mkdir -p sdk/include
|
||||
|
||||
mkdir elpasso
|
||||
pushd elpasso
|
||||
|
||||
# wget -N http://www.zlib.net/zlib-1.2.13.tar.gz
|
||||
|
||||
git clone --depth 1 https://github.com/Zhiyi-Zhang/PS-Signature-and-EL-PASSO --branch=v0.3
|
||||
|
||||
LIB=PS-Signature-and-EL-PASSO
|
||||
|
||||
pushd $LIB
|
||||
ln -fs $DIR/../../Makefile-template Makefile
|
||||
cp $DIR/Makefile.project Makefile.project
|
||||
popd
|
||||
|
||||
popd
|
||||
|
||||
pushd sdk/include
|
||||
ln -fs ../../elpasso/$LIB/src elpasso
|
||||
popd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user