fix F4PGA_DIR_ROOT inconsistency
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
This commit is contained in:
parent
a54555942a
commit
9cd048885e
|
@ -20,10 +20,7 @@ set -e
|
|||
|
||||
FPGA_FAM=${FPGA_FAM:=xc7}
|
||||
|
||||
case "$FPGA_FAM" in
|
||||
xc7) F4PGA_DIR_ROOT='install';;
|
||||
eos-s3) F4PGA_DIR_ROOT='quicklogic-arch-defs';;
|
||||
esac
|
||||
F4PGA_DIR_ROOT='install'
|
||||
|
||||
export PATH="$F4PGA_INSTALL_DIR/$FPGA_FAM/$F4PGA_DIR_ROOT/bin:$PATH"
|
||||
source "$F4PGA_INSTALL_DIR/$FPGA_FAM/conda/etc/profile.d/conda.sh"
|
||||
|
|
|
@ -68,10 +68,9 @@ cd ..
|
|||
|
||||
|
||||
echo '::group::Add f4pga-env'
|
||||
case "$FPGA_FAM" in
|
||||
xc7) F4PGA_DIR_ROOT='install';;
|
||||
eos-s3) F4PGA_DIR_ROOT='quicklogic-arch-defs';;
|
||||
esac
|
||||
|
||||
F4PGA_DIR_ROOT='install'
|
||||
|
||||
F4PGA_DIR_BIN="$F4PGA_INSTALL_DIR_FAM/$F4PGA_DIR_ROOT"/bin/
|
||||
mkdir -p "$F4PGA_DIR_BIN"
|
||||
cp $(dirname "$0")/../../f4pga-env "$F4PGA_DIR_BIN"
|
||||
|
|
Loading…
Reference in New Issue