BBB device tree compile

I am using Debian 4.6.3-14 and trying to compile a brand new device tree (the entire thing, not just an overlay) and I am getting errors trying to use the dtc functions. I read that it may be possible to use the make function to compile the device tree but have not seen anything specific to the BeagleboneBlack.

If anyone has experience compiling a complete device tree on the beaglebone I would love to hear your input or links to relevant information.

you want to compile am335x-boneblack.dts file?