We now have a script that reads the .pins file directly, so there is no reason to hack the main .qsf file.
@@ -1,11 +0,0 @@
-PERL = perl
-
-all: max80.qsf
-# Ugly hack, because Quartus edits max80.qsf directly
-%.qsf: %.pins.qsf
- grep -v '^set_location_assignment *PIN_' $@ > $*.nopins.qsf
- cat $*.nopins.qsf $< > $@
-%.pins.qsf: %.pins pin2qsf.pl
- $(PERL) pin2qsf.pl < $< > $@
@@ -1,12 +0,0 @@
-#!/usr/bin/perl
-while ( defined($line = <STDIN>) ) {
- chomp $line;
- $line =~ s/^\#.*$//; # Remove comments
- if ( $line =~ /^\s*(\S+)\s+(\S+)/ ) {
- $pin = $1;
- $signal = $2;
- print "set_location_assignment PIN_\U${pin}\E -to \"${signal}\"\n";
- }
-}