Karnataka Deputy Chief Minister DK Shivakumar on Thursday accused the BJP of trying to erase Mahatma Gandhi's legacy and stated that the party has not contributed to the country's freedom struggle.