Make old site-specific configuration more generic,

set DIRPROJECT_PERL_BOOT to a script for bin/verilator to call to do setup.
This commit is contained in:
Wilson Snyder
2009-06-21 13:17:12 -04:00
parent 02d162858f
commit 96b23f6edd
4 changed files with 11 additions and 15 deletions
-11
View File
@@ -369,17 +369,6 @@ string V3Options::getenvSYSTEMPERLGuts() {
var = DEFENV_SYSTEMPERL;
setenvStr("SYSTEMPERL", var, "Hardcoded at build time");
}
// Only correct or check it if we really need the value
if (v3Global.opt.usingSystemPerlLibs()) {
if (var == "") {
string testdir = V3Options::getenvW() + "/hw/utils/perltools/SystemC"; // Hack for internal testing
if (V3Options::fileStatDir(testdir)) {
var = testdir;
setenvStr ("SYSTEMPERL", var, "From W");
}
}
// Test for correctness in SYSTEMPERL_INCLUDE
}
return var;
}