Project

General

Profile

How to build just the Replicant 4.2 kernel (Linux 3.0.64)?

Added by Tiberiu T almost 9 years ago

How can one build only the kernel (and modules for that kernel), and not all the Replicant system (it takes too long to download 20G)?

I need to compile some modules which are not by default in Linux 3.0.64 which is running in Replicant 4.2 0004.

What I tried is to download the snapshot here:

https://git.replicant.us/gitweb/?p=replicant/kernel/samsung/smdk4412.git;a=tree;h=57628814511eec6890bc5fe3820b42f745bd1f44;hb=4c52bc8a2ff3c0373d371995eaef34df98e1fa4c

and get the prebuilts from Google:

https://android.googlesource.com/platform/prebuilt/+/android-4.1.2_r2

But `make` still was interrupted by missing files/wrong file hierarchy.

Is it somewhere documented? Here at Replicant or at CyanogenMod? Can we find a simple solution? igor- tried to help me on IRC, but couldn't figure out the prebuilts part.


Replies (3)

RE: How to build just the Replicant 4.2 kernel (Linux 3.0.64)? - Added by Tiberiu T almost 9 years ago

In the end, I had to download the 20G of system and source revisions in order to be able to build the kernel... Oh, well.

RE: How to build just the Replicant 4.2 kernel (Linux 3.0.64)? - Added by Kurtis Hanna over 8 years ago

Were you doing this to add support for your wifi dongle? If so, did it work?

RE: How to build just the Replicant 4.2 kernel (Linux 3.0.64)? - Added by robin p over 8 years ago

Kurtis Hanna wrote:

Were you doing this to add support for your wifi dongle? If so, did it work?

yeah, i'd be interested in this too, i want to add a kernel module but i'm struggling no end with linux for replicant - it is a different beast to that on my desktop. did you build the module you needed, or the complete kernel + new modules? any suggestions for useful tutorials?

    (1-3/3)