changed bearssl out dir to the git-ignored one

This commit is contained in:
Timerix 2025-08-08 21:46:54 +03:00
parent a19c5f7023
commit 07c53c9046
2 changed files with 7 additions and 4 deletions

View File

@ -1,16 +1,19 @@
#!/usr/bin/env bash #!/usr/bin/env bash
DEP_WORKING_DIR="dependencies/BearSSL" DEP_WORKING_DIR="dependencies/BearSSL"
DEP_PRE_BUILD_COMMAND=""
DEP_POST_BUILD_COMMAND=""
projconfig_path="../bearssl.project.config" projconfig_path="../bearssl.project.config"
if [[ "$TASK" = *_dbg ]]; then if [[ "$TASK" = *_dbg ]]; then
dep_build_target="build_static_lib_dbg" dep_build_target="build_static_lib_dbg"
else else
dep_build_target="build_static_lib" dep_build_target="build_static_lib"
fi fi
DEP_PRE_BUILD_COMMAND=""
DEP_BUILD_COMMAND="cbuild -c $projconfig_path $dep_build_target" DEP_BUILD_COMMAND="cbuild -c $projconfig_path $dep_build_target"
DEP_POST_BUILD_COMMAND="mv -v cbuild.log ../bin/cbuild_bearssl.log"
DEP_CLEAN_COMMAND="cbuild -c $projconfig_path clean" DEP_CLEAN_COMMAND="cbuild -c $projconfig_path clean"
DEP_DYNAMIC_OUT_FILES="" DEP_DYNAMIC_OUT_FILES=""
DEP_STATIC_OUT_FILES="bin/libbearssl.a" DEP_STATIC_OUT_FILES="../bin/libbearssl.a"
DEP_OTHER_OUT_FILES="" DEP_OTHER_OUT_FILES=""
PRESERVE_OUT_DIRECTORY_STRUCTURE=false PRESERVE_OUT_DIRECTORY_STRUCTURE=false

View File

@ -24,7 +24,7 @@ ENABLED_DEPENDENCIES=''
# ├── static_libs/ - Symbolic links to dynamic libraries used by linker. Cleans on each call of build task. # ├── static_libs/ - Symbolic links to dynamic libraries used by linker. Cleans on each call of build task.
# └── profile/ - gcc *.gcda profiling info files # └── profile/ - gcc *.gcda profiling info files
OBJDIR="obj" OBJDIR="obj"
OUTDIR="bin" OUTDIR="../bin"
STATIC_LIB_FILE="lib$PROJECT.a" STATIC_LIB_FILE="lib$PROJECT.a"
INCLUDE="-I./src -I./inc" INCLUDE="-I./src -I./inc"