This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TMS320DM6446: Linux Kernel Source Hardening

Part Number: TMS320DM6446


Tool/software: Linux

we are using davinci DM6446 processor in one of our product.

We ported embedded linux on Davinci.

The linux kernel source contains huge source code related to all other boards or architecture and feature selection is done through menu config.

is there any way to remove the unwanted source from the kernel source directory?
 
and remove the source related to unwanted config features?

Thank You,

  • Hi Satish,

    That has been the norm of Linux kernel. It contains code for all the architecture and many other drivers, which are not used. It may not be easy or desirable to remove the source code, since lots of things are inter-woven assuming source code(and its configuration file) will be available. Why you need such a requirement ? Generally TI kernel are built in Desktop environment and size of the kernel source is never a concern. But once you build the actual kernel and drivers for a specific architecture, they will be very minimal in size compared to the entire code.