aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-06-07 05:17:49 +0200
committerSven Gothel <[email protected]>2021-06-07 05:17:49 +0200
commitb09cea725f98377cbfe7d7933c08d063012298e8 (patch)
tree33021fda596d4141ffcc3eef16456bd1c9a3d8a8 /scripts
parent301b3a8fcede0adc8111f3fc9c80b75503f70437 (diff)
Add amalgamated platform dependend files under 'include/amalgamation-amd64', 'include/amalgamation-arm64', etc .. (patch 1)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build-botan-01.sh1
-rw-r--r--scripts/build-botan-amd64.sh (renamed from scripts/build-botan-min.sh)7
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build-botan-01.sh b/scripts/build-botan-01.sh
deleted file mode 100644
index 6f1e58a..0000000
--- a/scripts/build-botan-01.sh
+++ /dev/null
@@ -1 +0,0 @@
-./configure.py --prefix=`pwd`/dist-amd64-max
diff --git a/scripts/build-botan-min.sh b/scripts/build-botan-amd64.sh
index d249574..4df3c12 100644
--- a/scripts/build-botan-min.sh
+++ b/scripts/build-botan-amd64.sh
@@ -29,8 +29,9 @@ MOD_BASIC=base,pubkey,rsa,x509,eme_oaep,eme_raw,emsa1
CXX_FLAGS=
LD_FLAGS=
-rm -rf dist-amd64-min
-mkdir -p dist-amd64-min
+mkdir -p $rootdir/include/amalgamation-amd64
+rm -f $rootdir/include/amalgamation-amd64/botan_all.h
+rm -f $rootdir/include/amalgamation-amd64/botan_all.cpp
./configure.py --cpu=$USE_CPU --prefix=`pwd`/dist-amd64-min --minimized-build \
--enable-modules=$MOD_BASIC,$MOD_CIPHER,$MOD_HASH,$MOD_RNG,$MOD_HW_THIS \
@@ -41,6 +42,6 @@ mkdir -p dist-amd64-min
# --with-lzma --with-bzip2 \
-cp -a botan_all.cpp botan_all.h dist-amd64-min/
+mv botan_all.cpp botan_all.h $rootdir/include/amalgamation-amd64/
cd $rootdir