g2: clean up and prebuilt gps