Here is a guide on how to install lead flashing to your roof.
How to attach roof flashing to brick.
It is commonly used in two story and side split houses.
These kinds of houses often have a roof that butts against a wall.
Install base flashing under shingles or over metal roofing material.
Attaching wood framing members to a brick wall is tricky especially if the framing will support any load as it does when a roof intersects the wall.
Most important make sure weep vents are included in the mortar at each pan without a way for water to escape all the fancy flashing is for nothing.
The second is good the flashing is turned into a deep cut mortar joint about 1 and nails are placed so the head of the nail laps over the bend edge about 3 4 to hold the flashing in place.
Follow the photo for illustrated instructions.
It may be quite a labor but it pays off with a strong roof.
If the roof runs flat up against the brick wall you must install the roof side of the flashing either under the last layer of shingles or over the roof material if it is metal.
With the rigidity created by the bent corner and the nail not penetrating the flashing the metal can move more freely when the temps change.
Metal roof flashing is a galvanized sheet metal bent at right angles with about eight to 12 inches on each side of the angle.