Skip to content

Commit

Permalink
tools: Allow to override default variables
Browse files Browse the repository at this point in the history
  • Loading branch information
tmichalak committed Oct 3, 2024
1 parent 42785cc commit 3835782
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/prefix_macros.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# !/bin/bash

# Prefix that will be added to all required macro/struct/module names
PREFIX="veer0_"
PREFIX="${PREFIX:-veer0_}"
# Path to directory where common_defines.vh, el2_param.vh, el2_pdef.vh and pd_defines.vh reside
DEFINES_PATH="."
DEFINES_PATH="${DEFINES_PATH:-.}"
# Path to directory hierarchy where RTL sources reside
DESIGN_DIR="."
DESIGN_DIR="${DESIGN_DIR:-.}"

COMMON_DEFINES="$DEFINES_PATH/common_defines.vh"
EL2_PARAM="$DEFINES_PATH/el2_param.vh"
Expand Down

0 comments on commit 3835782

Please sign in to comment.