Use weight paint to limit grass particles near the wall of your building.
Weight Paint mode. Hair is yellow. Red to Blue gradient. Red areas specify the most hair. Blue areas specify no hair. Gradient between Red and Blue specify values between the two extremes. The Yellow arrow in the Vertex Groups Panel of the Particle Tab shows the vertex groups selected for Density and Length.
Meshes with hair/emission particles can use weights produced by [weight paint] mode. Then hair will be produced in certain areas. This produces vertex groups. The particle system [density under vertex groups] can respect the vertex group. Some areas can have hair or grass. Other areas can be excluded from grass.
Your model must have enough vertex density for fine detail. Please click on image above to see higher resolution closeup of the image. The vertex vertex denisty will be more readable.
For example. Eyelash areas on a face can be weight painted.
So you could weight paint your mesh and exclude areas too near the building wall. If you have only a still photo image and not a moving image you can be less precise.
This is not a tutorial on weight painting .. yet other questions here at BSE and the video web site that has a name that rhymes with newnube cab be searched.