Editing Linux
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 91: | Line 91: | ||
#: or | #: or | ||
#: <code>sudo apt-get install build-essential libncurses5-dev</code> | #: <code>sudo apt-get install build-essential libncurses5-dev</code> | ||
# Download the Linux source code from the [http://www.fsfla.org/svnwiki/selibre/linux-libre/ Linux-libre project]. The source tarballs from kernel.org should be avoided if possible, because it includes proprietary binary blobs | # Download the Linux source code from the [http://www.fsfla.org/svnwiki/selibre/linux-libre/ Linux-libre project]. The source tarballs from kernel.org should be avoided if possible, because it includes proprietary binary blobs. | ||
#: <code>wget http:// | #: <code>wget http://linux-libre.fsfla.org/pub/linux-libre/releases/3.4.24-gnu/linux-libre-3.4.24-gnu.tar.bz2</code> | ||
# Extract the source archive: | # Extract the source archive: | ||
#: <code>tar xf linux-libre-3.4. | #: <code>tar xf linux-libre-3.4.24-gnu.tar.bz2</code> | ||
# Enter the directory with the extracted source code (and make edits to the source if you wish): | # Enter the directory with the extracted source code (and make edits to the source if you wish): | ||
#: <code>cd linux-3.4. | #: <code>cd linux-3.4.24</code> | ||
# Create or edit the build config file: | # Create or edit the build config file: | ||
#: <code>make menuconfig</code> | #: <code>make menuconfig</code> | ||
# Build the kernel and package it into deb files (if you don't intend on debugging, set the INSTALL_MOD_STRIP variable to 1 to remove the debugging symbols): | # Build the kernel and package it into deb files (if you don't intend on debugging, set the INSTALL_MOD_STRIP variable to 1 to remove the debugging symbols): | ||
#: <code>INSTALL_MOD_STRIP=1 make deb-pkg</code> | #: <code>INSTALL_MOD_STRIP=1 make deb-pkg</code> | ||
#: ( | #: (This step can take several hours, depending on the machine you're building it on.) | ||
# Go up one directory: | # Go up one directory: | ||
#: <code>cd ..</code> | #: <code>cd ..</code> |