From f88054c0a2809d36e2830cb2536b6e3f6b98f626 Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Mon, 29 Aug 2022 23:07:26 +0200 Subject: [PATCH] scripts/prepare_environment: remove all the python scripts included in xc7 arch-defs tarballs Signed-off-by: Unai Martinez-Corral --- scripts/prepare_environment.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/prepare_environment.sh b/scripts/prepare_environment.sh index 31b63e4..fc00513 100755 --- a/scripts/prepare_environment.sh +++ b/scripts/prepare_environment.sh @@ -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::'