sealing wall/plank joint in outside stairway landing

I need weatherproofing/sealing advice.
I am replacing a plank in an exterior stariway landing. It will abut the outside stucco wall of the house (Los Angeles). The old planks have some kind of pretty heavy duty stuff that keeps water out where the plank meets the wall. There are photos of it here:
http://members.dslextreme.com/~dmorgan1/plankreplacement /
What product should I use and how is it applied, to properly seal up the new plank at the wall?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

HomeOwnersHub.com is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.