How to enable core file dumps

I have installed JetPack 2.2.1 on my board and I need to collect core file dumps. I know that the default kernel was build without CONFIG_ELF_CORE. So which steps are required to resolve my problem?

You need to clone the following repository GitHub - jetsonhacks/buildJetsonTK1Kernel: Scripts to help build the kernel and modules on the Jetson TK1, update kernel configuration and build new kernel.