I am running Linux 2.6.24.I'm interested in the dtc utility that is built through arch/powerpc/boot/Makefile.The source files for dtc are arch/powerpc/boot/dtc-src.Note that Makefile1 is executed before Makefile2 is executed.I use dtc to process .dts files(device tree source files)to generate assembly files manually.These assembly files are #included in some files in arch/powerpc/kernel.


I'd like to automate the processing of these .dts files.In order to achieve this,dtc has to be built early enough.Is there a way I can get dtc to build early enough so and get dtc to process some files to generate assembly files so that components getting built through makefile 1 can use these assembly files?