forked from colin121/x264-dsp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
# shellcheck shell=bash | ||
# shellcheck shell=bash disable=SC2123 | ||
if [[ -x /opt/ccstudio/ccs/tools/compiler/c6000_7.4.24/bin/cl6x ]]; then | ||
PATH="/opt/ccstudio/ccs/tools/compiler/c6000_7.4.24/bin${PATH:+:}$PATH" | ||
fi | ||
if [[ -x /opt/ccstudio/ccs/ccs_base/scripting/bin/dss.sh ]]; then | ||
PATH="/opt/ccstudio/ccs/ccs_base/scripting/bin${PATH:+:}$PATH" | ||
fi | ||
if [[ -x /opt/ccstudio/ccs/ccs_base/scripting/examples/loadti/loadti.sh ]]; then | ||
PATH="/opt/ccstudio/ccs/ccs_base/scripting/examples/loadti${PATH:+:}$PATH" | ||
fi | ||
if command -v cl6x &>/dev/null; then | ||
export C6X_C_DIR="$(dirname "$(dirname "$(realpath "$(command -v cl6x)")")")" | ||
export C6X_C_DIR | ||
C6X_C_DIR="$(dirname "$(dirname "$(realpath "$(command -v cl6x)")")")" | ||
C6X_C_DIR="$C6X_C_DIR/include;$C6X_C_DIR/lib" | ||
fi | ||
# ex: filetype=sh |