Speed up the ROM or Kernel Build Process
Creating a kernel, ROM, or any other development project requires knowledge and tools. While this knowledge can be obtained from books and other resources, tools must be created from scratch. Well, not all of them, as here on XDA there are plenty of interesting projects that are shared with the community.
When you are building a ROM, you need to execute a few commands to get the build process started. Manually entering lines takes time, and there is a great chance of making a typo and having to repeat the process. XDA Forum Moderator and Recognized Developer laufersteppenwolf decided to share his solution by presenting a set of scripts that will allow you to speed up the preparation process of almost every project.
The provided scripts are designed to build a CyanogenMod-based ROM, kernel, and anykernel (a zImage replacement without touching the ramdisk) for the LG Optimus 4X HD. However, it can be easily modified to build your ROM of choice for your target device. The scripts work with every Linux distribution and have a proper documentation, which can be executed by appending the “-h” flag.
If you are a kernel or ROM developer or simply want to see how to automate the build process, check out the provided scripts in the original thread.