rpmbuild -bp --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log

Fails saying that make 3.7.8 is required to build. I have built make 3.79 and 3.81 into /bin/make and /usr/local/bin/make.

What is the location of the make rpmbuild try to execute... or does it like I would assume use PATH?

If so, why is it failing?