display-legacy: don't build when variant is requested