The habitats where dyer's greenweed~(Genista tinctoria) grows:

Hard cliff and cliff slope
Lowland calcareous grassland