[Q] Help to craft a '.config' file for building kernel module?
I need some help to figure our how to obtain, craft, or otherwise hack a '.config' file for the Droid 2. My aim is to hack together a toolchain for building kernel modules for the Droid 2. However, I am stuck at the stage of needed to hack together a functional '.config. for the D2.
The following points I have followed up on but hit a deadend each time. Please take a look and comment about your best practices or where I should look next.
1.) I have seen on other forum pages that most phones you can download the .config file directly off the phone from somewhere like '/proc/config.gz'. However, the Droid 2 does not seem to have this.
2.) I have also seen that you can obtain the '.config' file from the gpl sources from phones like the Droid X. However, this too is a bust as I can not find the gpl sources for the Droid 2.
3.) I have also seen mention of a make script called, 'mapphone_defconfig'. Mentions about this have indicated that it should help to generate a stock .config that is geared for Android in general. However, I can not find specifics about it nor where to download / find it in the AOSP repo.