BEAGLE define in CPP

All,

Can someone tell me if there is a define available already so that we can compile hardware specific c++ code.

Something like.

#ifdef BEAGLEBONE

// Some code

#endif

I want to avoid passing one in through the makefile if possible.

Thanks,

Trefor