Export PROJECT_BOARD, we need it while compiling OpenBLT with separate make call (#4146)

This commit is contained in:
Andrey G 2022-05-07 13:12:07 +03:00 committed by GitHub
parent e2b1619e6e
commit 77e4f53758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,8 @@
echo "clean_env_variables.sh: Cleaning up so that no one inherits any of these values"
export DEBUG_LEVEL_OPT=""
export EXTRA_PARAMS=""
export PROJECT_BOARD=""
export PROJECT_CPU=""
export USE_BOOTLOADER=""
export VAR_DEF_ENGINE_TYPE=""
export LED_CRITICAL_ERROR_BRAIN_PIN=""

View File

@ -1,7 +1,8 @@
#!/bin/bash
PROJECT_BOARD=$1
PROJECT_CPU=$2
#exporting for OpenBlt Makefile
export PROJECT_BOARD=$1
export PROJECT_CPU=$2
SCRIPT_NAME="common_make.sh"
echo "Entering $SCRIPT_NAME with board $1 and CPU $2"