g2: cleanup g2.mk

because it's ugly and we're professionals

Change-Id: I7ddabba074a18596928493e9d28a31f22be23593