aluminum roof edge and side wall connection

I created a poor man's illustration below. Yellow box represents the camper body, black lines represent the roof sheet, blue lines represent the side walls. I want to bend the roof sheet with small edges on all four sides, the edge size can be 1/4" or whatever the size that can be covered under the edge trim, then tug the side wall sheet under the roof edge. I hope the overlap edge can help preventing water leak. Is this the right approach to do it?
Thanks!
Thanks!