scripts/prepare_environment: remove all the python scripts included in xc7 arch-defs tarballs

Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
Unai Martinez-Corral 2022-08-29 23:07:26 +02:00
parent 873ea7e61b
commit f88054c0a2
1 changed files with 4 additions and 1 deletions

View File

@ -70,7 +70,10 @@ for PKG in $PACKAGES; do
| tar -xJC $F4PGA_INSTALL_DIR_FAM
done
find $F4PGA_INSTALL_DIR_FAM/share -name split_inouts.py | xargs rm -v
case "$FPGA_FAM" in
xc7) rm -vrf $F4PGA_INSTALL_DIR_FAM/share/f4pga/scripts ;;
eos-s3) find $F4PGA_INSTALL_DIR_FAM/share -name split_inouts.py | xargs rm -v ;;
esac
echo '::endgroup::'