compiling kernel module

compiling kernel module

Leon Romanovsky leon at leon.nu
Wed Mar 4 16:27:28 IST 2015


On Wed, Mar 4, 2015 at 2:21 PM, Erez D <erez0001 at gmail.com> wrote:
>
>
> On Wed, Mar 4, 2015 at 11:55 AM, Leon Romanovsky <leon at leon.nu> wrote:
>>
>> On Wed, Mar 4, 2015 at 11:12 AM, Erez D <erez0001 at gmail.com> wrote:
>> >
>> >
>> >
>> > On Wed, Mar 4, 2015 at 11:09 AM, Leon Romanovsky <leon at leon.nu> wrote:
>> >>>
>> >>> i tried downloading source from lenovo.
>> >>> they have instructions to compile with:
>> >>> ./mk x2ap n k
>> >>>
>> >>> however i cannot find 'mk' anywhere, not in their tar, not in android
>> >>> sdk nor ndk etc.
>> >>
>> >> ./mk is a symlink to ./makeMtk script which is part of Mediatek build
>> >> system.
>> >> The script is located at mediatek/build folder.
>> >>
>> > thanks,
>> > where do i get  Mediatek build system from ?
>> AFAIK It depends on phone/tablet manufacturer, since the build system
>> is not GPL.
>> Generally, you can try to setup it by yourself:
>> 1. Take one of the available builds for other MTK chipset based phones
>> [1].
>> 2. Download source code which was provided by Lenovo [2].
>> 3. Built new kernel with platform config from Lenovo's package [3]
>>
>> [1] https://github.com/suribi/Thunder-Kernel
>> [2]
>> http://support.lenovo.com/us/en/products/phones/vibe-series/vibe-x2/downloads/DS101342
>> [3] bsp/mediatek/config/mt6595/autoconfig/kconfig/platform
>
>
> do you have a link for [3] ?
I downloaded lenovo_x2_osc_20141013.zip file from link [2] and unzipped it.
The platform config will be there.

>
> thanks for your help
>>
>>
>> >>
>> >>
>> >> --
>> >> Leon Romanovsky | Independent Linux Consultant
>> >>         www.leon.nu | leon at leon.nu
>> >
>> >
>>
>>
>>
>> --
>> Leon Romanovsky | Independent Linux Consultant
>>         www.leon.nu | leon at leon.nu
>
>



-- 
Leon Romanovsky | Independent Linux Consultant
        www.leon.nu | leon at leon.nu



More information about the Linux-il mailing list