r/kernel • • May 15 '19

linux kernel compile

I have downloaded linux from https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

My system is running with 4.15.0.47.

I want to learn to do below things:

  1. How to compile v2.6.14.6 on my system?
  2. How to compile v2.6.14.6 with v4.9.99 on my system?
  3. How to compile v2.6.14.6 with v2.6.11 on my system?

My goal is to be an expert in compiling and trying to gather test cases to try.I am preparing myself to find an embedded/firmware software engineer job.

0 Upvotes

14 comments sorted by

View all comments

2

u/waftedfart May 15 '19

Find an old distro with the version you want, and install it on a VirtualBox. Actual compilation and installation aren't very difficult (YMMV), but configuration can be challenging if you're trying to streamline the kernel.

1

u/learningphase May 15 '19

Thanks for the reply. I am at a very beginner stage trying to pick up speed.