Others are going to tell you the standard spiel, but also the additional truth is that it's also completely dependent upon the culture of the hiring institution/department:
The bottom line is this: if you want to stay in academics with your goals, look for a job that fits #1 and not #2. There are positions out there with clinical promotion tracts that don't require you to come from prestigious schools/programs. Distinguish yourself clinically in your current program, and put extra work into being a great teacher to trainees you work with. If you get the chance to co-author on a case report or 2 with your profs, that would also look great on your CV.