In real life, walls will sit on footings, which will be stepped to follow the fall of the ground. That's how I would model them.
However, if you want a quick cheat, just take the base of the walls down past the mesh, then do a solid element operation to cut off the bottom of the walls.