Hi, First it is not a good idea to build a drive as a module, at least in Android context. You can build a driver as a part of regular kernel entity.
If at all you would like to build a module, then - you can a add a command to copy kernel modules to system/lib/modules - Also, you need to have init.rc or some other script (invoked after boot or on property set) to load the module. You might need to add insmod support for the same. -- satish On Thu, Aug 31, 2017 at 6:54 PM, gdbabu Krishnan <[email protected]> wrote: > Hi, > i have build android 6.0 for my board successfully and working fine, but > if i select any driver module in kernel then compiled that not present in > "android/out/target/product/board/home/malar/myandroid/ > out/target/product/board/system/lib/modules/" directory. > now my doubt is how to copy kernel modules to "/system/lib/modules" > directory, is need any configuration changes in android AOSP? > > i don't know how to solve this please help me. > > thank you... > > -- > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > > --- > You received this message because you are subscribed to the Google Groups > "android-porting" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Regards, satish patel -- -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
