We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 039fcb5 commit e1a5269Copy full SHA for e1a5269
scripts/sof-testbench-build-profile.sh
@@ -15,8 +15,11 @@ MODULES_S32="asrc dcblock drc drc_multiband eqfir eqiir gain src tdfb"
15
MODULES_S24="aria"
16
17
if [ -z "${SOF_WORKSPACE}" ]; then
18
- echo "Error: environment variable SOF_WORKSPACE need to be set to top level sof directory"
19
- exit 1
+ # fallback to the script directory default path
+ SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
20
+ SOF_REPO=$(dirname "$SCRIPT_DIR")
21
+ SOF_WORKSPACE="$SOF_REPO/../"
22
+ echo "Using default SOF environment at $SOF_WORKSPACE"
23
fi
24
25
PLATFORM=none
0 commit comments