diff --git a/default/scripts/verilator.sh b/default/scripts/verilator.sh index 139d972..88a3b1c 100644 --- a/default/scripts/verilator.sh +++ b/default/scripts/verilator.sh @@ -21,7 +21,6 @@ if [ ${ARCH_BASE} == 'darwin' ]; then sed -i 's,-Wno-tautological-bitwise-compare,,g' ${OUTPUT_DIR}${INSTALL_PREFIX}/share/verilator/include/verilated.mk fi -rm -rf ${OUTPUT_DIR}${INSTALL_PREFIX}/bin/* -${STRIP} ${OUTPUT_DIR}${INSTALL_PREFIX}/share/verilator/bin/verilator_bin* -${STRIP} ${OUTPUT_DIR}${INSTALL_PREFIX}/share/verilator/bin/verilator_coverage_bin* -cp ${OUTPUT_DIR}${INSTALL_PREFIX}/share/verilator/bin/* -rf ${OUTPUT_DIR}${INSTALL_PREFIX}/bin/. +${STRIP} ${OUTPUT_DIR}${INSTALL_PREFIX}/bin/verilator_bin* +${STRIP} ${OUTPUT_DIR}${INSTALL_PREFIX}/bin/verilator_coverage_bin* +cp ${OUTPUT_DIR}${INSTALL_PREFIX}/bin/*_bin* ${OUTPUT_DIR}${INSTALL_PREFIX}/share/verilator/bin/.